From ebea5f344e5094c8fa0ac5537555f425450c14d8 Mon Sep 17 00:00:00 2001 From: nevin <60362123+enbyautumn@users.noreply.github.com> Date: Wed, 30 Mar 2022 07:16:42 -0700 Subject: [PATCH] Yolo --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec68ccf..40690ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -35,4 +36,4 @@ jobs: release_name: Release ${{ needs.check_versions.outputs.version }} body: Release ${{ needs.check_versions.outputs.version }} draft: false - prerelease: false \ No newline at end of file + prerelease: false