diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c7128f8..03ca3df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,15 +31,9 @@ jobs: - name: Build Electron App run: npm run dist - - name: Get Tag - id: get_tag - if: startsWith(github.ref, 'refs/tags/') - run: | - echo ${GITHUB_REF/refs\/tags\//} - echo ::set-output name=TAG::${GITHUB_REF/refs\/tags\//} - - name: Create Release id: create_release uses: ncipollo/release-action@v1 with: + tag: "$(git rev-parse --short=7 HEAD)" artifacts: "dist/*-win-installer.exe,dist/*-win-portable.exe"