Skip to content

Commit

Permalink
Update package lock when releasing (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
eygraber authored Nov 28, 2024
1 parent 0d57923 commit c678012
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,14 @@ jobs:
run: |
sed -i -e 's/${{ env.CURRENT_VERSION }}/${{ env.NEXT_VERSION }}/g' gradle.properties && \
sed -i -E -e 's/(jsonpathkt-.*)[0-9]+\.[0-9]+\.[0-9]+/\1${{ env.RELEASE_VERSION }}/g' README.md
- name: Update package-lock.json if needed
run: ./gradlew kotlinUpgradePackageLock --no-build-cache --no-configuration-cache --rerun-tasks

- name: Commit next dev version
id: commit_next_dev
uses: EndBug/add-and-commit@v9
with:
add: "['gradle.properties', 'README.md']"
add: "['gradle.properties', 'README.md', 'kotlin-js-store/package-lock.json']"
default_author: github_actions
message: "Prepare next dev version"

0 comments on commit c678012

Please sign in to comment.