mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-11-30 16:48:16 +01:00
fix(ci): fix propagating version
This commit is contained in:
@@ -42,7 +42,7 @@ runs:
|
||||
id: update_version
|
||||
run: |
|
||||
npm version ${{ inputs.version }}
|
||||
echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
|
||||
echo "VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
|
||||
shell: bash
|
||||
working-directory: ${{ inputs.working-directory }}
|
||||
# - name: Run Build
|
||||
@@ -67,7 +67,7 @@ runs:
|
||||
git remote -v
|
||||
git push origin main --tags
|
||||
gh auth login --with-token ${{ inputs.ghToken }}
|
||||
gh release create ${{ steps.update_version.outputs.version }} --title "v${{ steps.update_version.outputs.version }}" --generate-notes
|
||||
gh release create "v$VERSION" --title "v$VERSION" --generate-notes
|
||||
shell: bash
|
||||
env:
|
||||
GH_TOKEN: ${{ inputs.ghToken }}
|
||||
Reference in New Issue
Block a user