Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
ed0906 committed Mar 11, 2024
1 parent 9b789d1 commit 8857be5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,16 @@ jobs:
shell: bash
run: |
is_release=${{ github.event_name == 'release' }}
is_manual=${{ inputs.version }}
version=${{ inputs.version }}${GITHUB_REF/refs\/tags\//}
echo "Version: $version"
is_manual=${{ github.event_name == 'workflow_dispatch' }}
if [ is_release ]
then
version=${GITHUB_REF/refs\/tags\//}
elif [ is_manual ]
version=${{ inputs.version }}
else
echo "Cannot deduce Version Number from ${{ github.event_name }}"
exit 1
fi
echo "VERSION=$version" >> $GITHUB_OUTPUT
- name: Assemble Packages
Expand Down

0 comments on commit 8857be5

Please sign in to comment.