Skip to content

Commit

Permalink
Moved generate-next-tag to npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
GPaoloni committed Sep 7, 2022
1 parent 028bd6d commit 1bd7fe3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2,901 deletions.
14 changes: 8 additions & 6 deletions .github/actions/generate-pre-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ runs:
continue-on-error: true

# Generate next tag

- name: Generate next tag
run: node ${{ github.action_path }}/dist/generate-next-tag.js
shell: bash
env:
PREFIX: "${{ inputs.tag-prefix }}-${{ inputs.tag-suffix }}"
LATEST_MATCHING_TAG: ${{ steps.latest_matching_tag.outputs.tag }}
id: generate_next_tag
run: npm run generate-next-tag
env:
PREFIX: "${{ inputs.tag-prefix }}-${{ inputs.tag-suffix }}"
LATEST_MATCHING_TAG: ${{ steps.latest_matching_tag.outputs.tag }}
working-directory: ${{ github.action_path }}
shell: bash
id: generate_next_tag

- run: echo ${{ steps.generate_next_tag.outputs.generated-tag }}
shell: bash
Expand Down
Loading

0 comments on commit 1bd7fe3

Please # to comment.