Skip to content

Commit

Permalink
修改原
Browse files Browse the repository at this point in the history
  • Loading branch information
long2005a1 committed Oct 31, 2024
1 parent 0c6b187 commit 5d9a288
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
rm -rf dist
cp -r ../Long-Cloud-Web/dist .
git add .
git config --local user.email "i@nn.ci"
git config --local user.name "Noah Hsu"
git config --local user.email "2190008995@qq.com"
git config --local user.name "Long"
git commit --amend -m "upload dev dist"
cd ..
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
rm -rf dist
cp -r ../Long-Cloud-Web/dist .
git add .
git config --local user.email "i@nn.ci"
git config --local user.name "Noah Hsu"
git config --local user.email "2190008995@qq.com"
git config --local user.name "Long"
git commit --amend -m "upload dev dist"
cd ..
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "alist-web",
"version": "2024.0.0",
"version": "0.0.0",
"author": {
"name": "Xhofe",
"email": "i@nn.ci",
"name": "Long",
"email": "2190008995@qq.com",
"url": "https://www.nn.ci"
},
"description": "The front end of Alist V3",
"packageManager": "pnpm@9.9.0",
"repository": {
"type": "git",
"url": "git+https://github.com/alist-org/alist-web.git"
"url": "git+https://github.com/long2005a1/Long-Cloud-Web.git"
},
"bugs": {
"url": "https://github.com/alist-org/alist/issues"
Expand Down
6 changes: 3 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# replace version
cd Long-Cloud-Web
version=$(git describe --abbrev=0 --tags)
sed -i -e "s/\"version\": \"2024.0.0\"/\"version\": \"$version\"/g" package.json
sed -i -e "s/\"version\": \"0.0.0\"/\"version\": \"$version\"/g" package.json
cat package.json

# build
Expand All @@ -16,8 +16,8 @@ cd Long-Cloud-Dist
rm -rf dist
cp -r ../dist .
git add .
git config --local user.email "i@nn.ci"
git config --local user.name "Noah Hsu"
git config --local user.email "2190008995@qq.com"
git config --local user.name "Long"
git commit --allow-empty -m "upload $version dist files" -a
git tag -a $version -m "release $version"
cd ..
Expand Down

0 comments on commit 5d9a288

Please sign in to comment.