Skip to content

Commit

Permalink
fix: Update package.json version in flow. Update npm package name fro…
Browse files Browse the repository at this point in the history
…m fruzhin-web to fruzhin.
  • Loading branch information
Zurcusa committed Sep 24, 2024
1 parent 9eb3d0c commit d442823
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ jobs:
unzip ./build/libs/*.war -d dist
rm -rf ./dist/META-INF ./dist/WEB-INF ./dist/index.html
- name: Update package.json version
run: |
VERSION=${{ github.event.inputs.tag_name }}
echo "Updating package.json with version: $VERSION"
sed -i -e 's/"version": ".*"/"version": "'"$VERSION"'"/' package.json
- name: Set up Node.js
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "fruzhin-web",
"name": "fruzhin",
"version": "1.0.0",
"description": "An implementation of Fruzhin's light client usable in the web.",
"main": "./dist/js/fruzhin-lib.js",
Expand Down

0 comments on commit d442823

Please sign in to comment.