Skip to content

Commit

Permalink
Beta releases (#363)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
Bara authored Jan 1, 2022
1 parent cfb969b commit f093472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Replace version with tag name
run: |
sed -i "s/1.0.dev/${{ github.ref }}/g" $SCRIPTING_PATH/SurfTimer.sp
sed -i "s/1.0.dev/${{ github.ref_name }}/g" $SCRIPTING_PATH/SurfTimer.sp
- name: Compile surftimer.sp
run: |
Expand Down

0 comments on commit f093472

Please sign in to comment.