Skip to content

Commit

Permalink
Merge pull request #30 from NorthernMan54/latest
Browse files Browse the repository at this point in the history
Build Process Redo - to leverage dependabot for version tracking
  • Loading branch information
NorthernMan54 authored Nov 25, 2024
2 parents 8da5167 + 354c226 commit 00e0195
Show file tree
Hide file tree
Showing 16 changed files with 1,818 additions and 1,871 deletions.
16 changes: 15 additions & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ autolabeler:
branch:
- '/feature\/.+/'

version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch

change-template: '- $TITLE @$AUTHOR [#$NUMBER]'
template: |
Homebridge Apt Package Manifest
Expand All @@ -39,4 +51,6 @@ template: |
|Homebridge| *.*.* |
## Other Changes
$CHANGES
$CHANGES
prerelease: true
37 changes: 37 additions & 0 deletions .github/workflows/Stage-4_post_release_validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "Stage 4 - Post Release Validation"

on:
workflow_dispatch:
workflow_run:
workflows: [Stage 3 - Promote Release Package to APT Stores]
types:
- completed

jobs:

on-success:
name: On Success or Manual Dispatch
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
steps:
- run: echo '::info::The triggering workflow passed or manual dispatch was used.'

validate:
name: Validate Release
runs-on: ubuntu-latest
needs: on-success
steps:
- name: Install Homebridge
run: |
curl -sSfL https://repo.homebridge.io/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/homebridge.gpg
echo "deb [signed-by=/usr/share/keyrings/homebridge.gpg] https://repo.homebridge.io stable main" | sudo tee /etc/apt/sources.list.d/homebridge.list > /dev/null
sudo apt-get update
sudo apt-get install -y homebridge
- name: Display APT Pkg Version
run: dpkg -l homebridge

- name: Validate Homebridge
run: |
sudo hb-service status
sudo hb-service view
112 changes: 0 additions & 112 deletions .github/workflows/build-only.yml

This file was deleted.

201 changes: 0 additions & 201 deletions .github/workflows/build.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/release-drafter.yml

This file was deleted.

Loading

0 comments on commit 00e0195

Please sign in to comment.