diff --git a/.github/workflows/build-win64.yml b/.github/workflows/build-win64.yml index 0248b399..a5505a8f 100644 --- a/.github/workflows/build-win64.yml +++ b/.github/workflows/build-win64.yml @@ -12,9 +12,6 @@ jobs: install: git - run: git config --global core.autocrlf input - uses: actions/checkout@v4 - - name: Git describe - id: ghd - uses: proudust/gh-describe@v2 - name: Build Dino run: | msys2 -c './build-win64.sh --prepare' @@ -35,4 +32,4 @@ jobs: file: windows-installer/dino-installer.exe asset_name: dino-installer.exe tag: ${{ github.ref }} - release_name: Dino ${{ steps.ghd.outputs.describe }} \ No newline at end of file + release_name: Dino ${{ github.ref_name }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a5f5a5b7..7e6f75cd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,27 +31,21 @@ jobs: image: bilelmoussaoui/flatpak-github-actions:gnome-44 options: --privileged steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - submodules: true - - run: flatpak repair --user - - uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1 - with: - manifest-path: im.dino.Dino.json - build-bundle: true - - name: Git describe - if: ${{ github.ref_type == 'tag' }} - id: ghd - uses: proudust/gh-describe@v2 - with: - default: '' - - name: Release Dino installer - if: ${{ github.ref_type == 'tag' }} - uses: svenstaro/upload-release-action@2.9.0 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: app.flatpak - asset_name: app.flatpak - tag: ${{ github.ref }} - release_name: Dino ${{ steps.ghd.outputs.describe }} \ No newline at end of file + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + submodules: true + - run: flatpak repair --user + - uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1 + with: + manifest-path: im.dino.Dino.json + build-bundle: true + - name: Release Dino installer + if: ${{ github.ref_type == 'tag' }} + uses: svenstaro/upload-release-action@2.9.0 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: app.flatpak + asset_name: app.flatpak + tag: ${{ github.ref }} + release_name: Dino ${{ github.ref_name }}