diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4508995..24cd98f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -93,7 +93,7 @@ jobs: - name: Linux - Build Package if: runner.os == 'Linux' run: | - docker run --rm -v $(pwd):/repo -e PKG_RELEASE_TYPE="${{ needs.release_type.outputs.release_type }}" -e PKG_RELEASE_VERSION="${{ needs.tag.outputs.version }}" package-build + docker run --rm -v $(pwd):/repo -e PKG_RELEASE_TYPE="${{ needs.release_type.outputs.release_type }}" -e PKG_RELEASE_VERSION="v${{ needs.tag.outputs.version }}" package-build - name: Set variables run: | @@ -103,7 +103,7 @@ jobs: uses: tubone24/update_release@v1.3.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAG_NAME: ${{ needs.tag.outputs.version }} + TAG_NAME: v${{ needs.tag.outputs.version }} with: is_append_body: "Contents of ${{ matrix.QEMU_ARCH }} Package." @@ -111,7 +111,7 @@ jobs: uses: tubone24/update_release@v1.3.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAG_NAME: ${{ needs.tag.outputs.version }} + TAG_NAME: v${{ needs.tag.outputs.version }} with: body_path: ${{ env.BODY_FILE }} @@ -119,7 +119,7 @@ jobs: with: files: '*.deb;*.manifest' repo-token: ${{ secrets.GITHUB_TOKEN }} - release-tag: ${{ needs.tag.outputs.version }} + release-tag: v${{ needs.tag.outputs.version }} update-apt-repo: name: Publish to Repo @@ -134,7 +134,7 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - tag: ${{ needs.tag.outputs.version }} + tag: v${{ needs.tag.outputs.version }} - name: Download release assets uses: dsaltares/fetch-gh-release-asset@0.0.8 @@ -186,6 +186,6 @@ jobs: title: "Homebridge APT Package Release" description: | Version `${{ needs.tag.outputs.version }}` - url: "https://github.com/homebridge/homebridge-apt-pkg/releases/tag/${{ needs.tag.outputs.version }}" + url: "https://github.com/homebridge/homebridge-apt-pkg/releases/tag/v${{ needs.tag.outputs.version }}" secrets: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}