Skip to content

Commit

Permalink
Update release-stone-ios.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
0xh3rman committed Jul 3, 2024
1 parent 49296ed commit 1fe72ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-stone-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ jobs:
steps:
- name: Set version tag
run: |
if [ "${{ github.event.inputs.ref_name }}" ]; then
if [ ${{ github.event.inputs.ref_name }} ]; then
echo "VER_NAME=${{ github.event.inputs.ref_name }}" >> $GITHUB_ENV
elif [ "${{ github.ref_name }}" == "master" ]; then
elif [ ${{ github.ref_type == 'tag' }} ]; then
echo "VER_NAME=${{ github.ref_name }}" >> $GITHUB_ENV
else
echo "no ref_name or tag"
exit 1
fi
Expand Down

0 comments on commit 1fe72ba

Please sign in to comment.