Skip to content

Commit

Permalink
fix release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Jun 19, 2024
1 parent 6ae15f0 commit 1f9cdf2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -103,23 +103,23 @@ jobs:
uses: tubone24/[email protected]
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."

- name: update release
uses: tubone24/[email protected]
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 }}

- uses: AButler/[email protected]
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
Expand All @@ -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/[email protected]
Expand Down Expand Up @@ -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 }}

0 comments on commit 1f9cdf2

Please sign in to comment.