Skip to content

Commit 046687e

Browse files
authored
Rename frun.new to frun.new.bash and update usage
1 parent 8c42338 commit 046687e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/forkrun_release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,17 +259,19 @@ jobs:
259259
printf '%s\n%s' "$a0" "$a1"
260260
declare -p b64
261261
printf '\n\n_forkrun_bootstrap_setup --force\n\n'
262-
} >./frun.new
262+
} >./frun.new.bash
263263
264-
mv frun.new "${FR_BASH_PATH}"
265-
chmod +x "${FR_BASH_PATH}"
264+
cp -f ./frun.new.bash "${FR_BASH_PATH}"
265+
chmod +x /frun.new.bash "${FR_BASH_PATH}"
266266
267267
\rm encoder.sh
268268
269269
- name: Verify Final Script
270270
run: |
271271
# Sanity check
272-
./frun.bash ring_version -a
272+
. ./frun.new.bash
273+
ring_version -a || exit 1
274+
\rm -f ./frun.new.bash
273275
274276
- name: Create Pull Request
275277
uses: peter-evans/create-pull-request@v6

0 commit comments

Comments
 (0)