Skip to content

Commit

Permalink
fix: replace release version
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Sep 8, 2024
1 parent 4601891 commit 8595bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# replace version
cd alist-web
version=$(git describe --abbrev=0 --tags)
sed -i -e "s/0.0.0/$version/g" package.json
sed -i -e "s/\"version\": \"0.0.0\"/\"version\": \"$version\"/g" package.json
cat package.json

# build
Expand Down

0 comments on commit 8595bf3

Please sign in to comment.