We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a044d7d commit 9ddf921Copy full SHA for 9ddf921
.github/workflows/build-main.yml
@@ -17,11 +17,10 @@ jobs:
17
runs-on: ubuntu-latest
18
steps:
19
- uses: actions/checkout@v6
20
- - name: Fetch latest release version
21
- uses: reloc8/[email protected]
22
- id: fetch-latest-release
23
- name: Set Env Tags
24
- run: echo RELEASE_TAG=${{ steps.fetch-latest-release.outputs.latest-release }} >> $GITHUB_ENV
+ run: |
+ git fetch --tags
+ echo "RELEASE_TAG=$(git describe --abbrev=0 --tags)" >> "${GITHUB_ENV}"
25
- name: set short sha
26
run: echo SHA_SHORT=$(git rev-parse --short HEAD) >> $GITHUB_ENV
27
0 commit comments