Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
recipe committed Jan 9, 2023
1 parent c923001 commit 4c3ee00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -24,10 +24,10 @@ jobs:
- name: Set output
id: vars
run: |
if [ -z "${GITHUB_REF#refs/*/}" ]; then
export RELEASE_VERSION="$(git describe --tags `git rev-list --tags --max-count=1`)"
else
if [[ $GITHUB_REF = "refs/tags/*" ]]; then
export RELEASE_VERSION="${GITHUB_REF#refs/*/}"
else
export RELEASE_VERSION="$(git describe --tags `git rev-list --tags --max-count=1`)"
fi
echo "release_version=${RELEASE_VERSION}" >> $GITHUB_OUTPUT
echo "bot_version=${BOT}_${RELEASE_VERSION}" >> $GITHUB_OUTPUT

0 comments on commit 4c3ee00

Please sign in to comment.