Skip to content

Commit

Permalink
Yolo
Browse files Browse the repository at this point in the history
  • Loading branch information
mintexists authored Mar 30, 2022
1 parent 9003d45 commit ebea5f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v2
id: check_versions
- run: git fetch --prune --unshallow
- run: git describe --tags --abbrev=0 > /tmp/latest_tag # we get the latest tag and store it
- run: jq -r ".version" package.json > /tmp/current_version # we get the current package.json version and store it
- run: echo "::set-output name=version::$(cat /tmp/current_version)" # we set the current version as variable for the next job in case we continue
Expand All @@ -35,4 +36,4 @@ jobs:
release_name: Release ${{ needs.check_versions.outputs.version }}
body: Release ${{ needs.check_versions.outputs.version }}
draft: false
prerelease: false
prerelease: false

0 comments on commit ebea5f3

Please sign in to comment.