Skip to content

Commit

Permalink
release(2.1.1): fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
arturu committed Apr 27, 2024
1 parent d20808f commit fd66ef4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,18 @@ jobs:
# Update release in skenografia.libraries.yml
sed -i "s/version: .*/version: ${{ env.release_tag }}/" "${{ env.project_name }}.libraries.yml"
# Update version in package.json
npm version ${{ env.release_tag }}
git add "${{ env.project_name }}.info.yml"
git add "version.css"
git add "composer.libraries.json"
git add "${{ env.project_name }}.libraries.yml"
git commit -m "Update file version ${{ env.project_name }"
# Update version in package.json
npm version ${{ env.release_tag }}
git add "package.json"
git commit -m "Update package.json version ${{ env.project_name }"
git commit -m "Update version"
git push origin
git tag ${{ env.release_tag }}
git push origin ${{ env.release_tag }}
Expand All @@ -114,7 +116,7 @@ jobs:
rm ~/.npmrc
zip -r skenografia.zip ./dist
shell: bash
continue-on-error: true
continue-on-error: false
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down

0 comments on commit fd66ef4

Please sign in to comment.