Skip to content

Commit

Permalink
fix(69): changed variable export
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Reich committed Mar 4, 2025
1 parent 0927dbb commit 9283a6a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ jobs:
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # automatically created by GH action
run: npx semantic-release # npx is included in npm -> Ubuntu
run: |
npx semantic-release # npx is included in npm -> Ubuntu
VERSION=$(cat VERSION)
GIT_TAG=$(cat GIT_TAG)
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_OUTPUT
echo "RELEASE_TAG=$GIT_TAG" >> $GITHUB_OUTPUT
delivery:
runs-on: ubuntu-latest
Expand Down
5 changes: 2 additions & 3 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ plugins:
- "@semantic-release/github"
- - "@semantic-release/exec"
- successCmd: |
echo "RELEASE_VERSION=${nextRelease.version}" >> "$GITHUB_OUTPUT"
echo "RELEASE_TAG=${nextRelease.gitTag}" >> "$GITHUB_OUTPUT"
echo "setting env variables done"
echo ${nextRelease.version} > VERSION
echo ${nextRelease.gitTag} > GIT_TAG

0 comments on commit 9283a6a

Please sign in to comment.