Skip to content

Commit

Permalink
Update Prepare prebuild environment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Nov 27, 2024
1 parent 8980450 commit bb755c3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/Prepare prebuild environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,22 @@ jobs:
registry-url: "https://registry.npmjs.org"
cache: "npm"

- 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

- uses: actions/download-artifact@v4
with:
merge-multiple: true
Expand Down

0 comments on commit bb755c3

Please sign in to comment.