-
-
Notifications
You must be signed in to change notification settings - Fork 780
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restart haproxy and nginx on install
- Loading branch information
1 parent
4ea8e9e
commit 632c79e
Showing
6 changed files
with
29 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule src
updated
from 088f7d to 943952
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
|
||
systemctl reload hiddify-nginx | ||
systemctl restart hiddify-nginx | ||
systemctl start hiddify-nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
which gitchangelog | ||
if [[ "$?" != 0 ]];then | ||
pip3 install gitchangelog pystache | ||
fi | ||
previous_tag=$(git describe --tags $(git rev-list --tags --max-count=1)) | ||
echo "previous version was $previous_tag" | ||
read -p "Version? (provide the next x.y.z semver) : " TAG | ||
[[ $TAG = v* ]] && echo "incorrect tag" && exit 1 | ||
echo "${TAG}" > VERSION | ||
git tag v${TAG} | ||
gitchangelog > HISTORY.md | ||
git tag -d v${TAG} | ||
git add VERSION HISTORY.md | ||
git commit -m "release: version ${TAG} 🚀" | ||
echo "creating git tag : v${TAG}" | ||
git tag v${TAG} | ||
git push -u origin HEAD --tags | ||
echo "Github Actions will detect the new tag and release the new version." |