Skip to content

Commit

Permalink
Auto set jdeploy version property so that build is paired to particul…
Browse files Browse the repository at this point in the history
…ar jdeploy version.
  • Loading branch information
shannah committed Dec 3, 2022
1 parent 175c616 commit 9aa3667
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inputs:
required: true
jdeploy_version:
description: The version of Jdeploy
default: latest
default: '4.0.0-alpha.17'


runs:
Expand All @@ -30,14 +30,15 @@ runs:
shell: bash
run: |
npm version "0.0.0-${{ github.ref_name }}"
npm pkg set jdeploy.jdeployVersion='${{ inputs.jdeploy_version }}'
npx 'jdeploy@${{ inputs.jdeploy_version }}' github-prepare-release
- name: Prepare Installer Bundles for Tag
if: ${{ github.ref_type == 'tag' }}
shell: bash
run: |
npm version "${{ github.ref_name }}"
npm pkg set jdeploy.jdeployVersion='${{ inputs.jdeploy_version }}'
npx 'jdeploy@${{ inputs.jdeploy_version }}' github-prepare-release
- name: Publish package-info.json
Expand Down

0 comments on commit 9aa3667

Please sign in to comment.