D'oh! We need tags to git describe
Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
This commit is contained in:

committed by
Brenden Matthews

parent
0daa51d970
commit
e7aeed4ebb
4
.github/workflows/publish-appimage.yml
vendored
4
.github/workflows/publish-appimage.yml
vendored
@@ -77,9 +77,11 @@ jobs:
|
||||
pip3 install --upgrade pyyaml
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Get tags
|
||||
run: git fetch --tags origin
|
||||
- name: Get git version
|
||||
id: git-version
|
||||
run: echo "GIT_VERSION=$(git describe --tags)" >> $GITHUB_ENV
|
||||
run: echo "GIT_VERSION=$(git describe --tags --always)" >> $GITHUB_ENV
|
||||
- name: Import GPG Deploy Key
|
||||
# only run on main branch
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
Reference in New Issue
Block a user