Skip to content

Commit

Permalink
Ok
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Nov 28, 2024
1 parent a94a36f commit a0d9ab8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/Prepare prebuild environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,22 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/*

- name: Fetch Adjust version script
if: ${{ inputs.Beta }}
run: wget https://raw.githubusercontent.com/homebridge/.github/latest/.github/npm-version-script.js
working-directory: .github

- if: ${{ inputs.Beta }}
run: npm install semver

- name: Adjust version
if: ${{ inputs.Beta }}
run: node .github/npm-version-script.js ${{ github.ref }} beta

- name: npm version (without git commit)
if: ${{ inputs.Beta }}
run: npm version pre --preid=beta --no-git-tag-version

- name: Linux - Setup Dependencies
if: runner.os == 'Linux'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Stage 2 - Validate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Stage 2 - Validate
name: Stage 2 - Validate NPM Package contents
run-name: Stage 2 - Validate against ${{ github.ref_name }}

on:
Expand Down

0 comments on commit a0d9ab8

Please sign in to comment.