Skip to content

Commit f093472

Browse files
authored
Beta releases (#363)
* Add pre-release support with "...-beta" tags * Add "pre" as keyword for prereleases * Use ref_name instead of ref ref: The branch or tag ref that triggered the workflow run. For branches this is the format refs/heads/<branch_name>, and for tags it is refs/tags/<tag_name>. ref_name: The branch or tag name that triggered the workflow run.
1 parent cfb969b commit f093472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Replace version with tag name
3939
run: |
40-
sed -i "s/1.0.dev/${{ github.ref }}/g" $SCRIPTING_PATH/SurfTimer.sp
40+
sed -i "s/1.0.dev/${{ github.ref_name }}/g" $SCRIPTING_PATH/SurfTimer.sp
4141
4242
- name: Compile surftimer.sp
4343
run: |

0 commit comments

Comments
 (0)