You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a case that in the staging environment we are not using the tags but a release-candidate branch, so I'm expecting to have a release candidate branch name as the version.
I noticed that only the refs/tags/ is stripped, so when setting version with ${{ github.ref }} it complains the slashes are not permitted.
I'm wondering if we can enhance the following regex process to allow strip the prefix for refs/heads as well?
I have a case that in the staging environment we are not using the tags but a release-candidate branch, so I'm expecting to have a release candidate branch name as the version.
I noticed that only the
refs/tags/
is stripped, so when settingversion
with${{ github.ref }}
it complains the slashes are not permitted.I'm wondering if we can enhance the following regex process to allow strip the prefix for refs/heads as well?
action-release/src/options.ts
Lines 14 to 15 in 62ef65f
The text was updated successfully, but these errors were encountered: