Skip to content

Commit

Permalink
💚 Fix package version step (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
spontoreau authored Nov 11, 2023
2 parents e69e415 + dbfccbb commit 15c28b2
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 @@ -28,7 +28,7 @@ jobs:
GIT_BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}}
BRANCH_VERSION=$(printf '%s\n' ${GIT_BRANCH//release\//})
TAG_VERSION=$(git tag --list | sort -V | tail -n1)
VERSION="$(export BRANCH_VERSION="${BRANCH_VERSION}" && TAG_VERSION="${TAG_VERSION}" && node .github/scripts/getVersion.js)"
VERSION="$(export BRANCH_VERSION="${BRANCH_VERSION}" && export TAG_VERSION="${TAG_VERSION}" && node .github/scripts/getVersion.js)"
echo "${VERSION}"
echo "packageVersion=${VERSION}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 15c28b2

Please sign in to comment.