GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — gitrob/release.sh at master · michenriksen/gitrob
This repository was archived by the owner on Jan 13, 2023. It is now read-only.
Expand file tree/ Copy pathrelease.shMore file actions executable file ·30 lines (23 loc) · 740 Bytes / Copy pathrelease.shFile metadata and controlsexecutable file ·30 lines (23 loc) · 740 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 #!/bin/bash CURRENT_VERSION=$(cat core/banner.go | grep Version | cut -d '"' -f 2) TO_UPDATE=( core/banner.go ) read -p "[?] Did you remember to update CHANGELOG.md? " read -p "[?] Did you remember to update README.md with new features/changes? " echo -n "[*] Current version is $CURRENT_VERSION. Enter new version: " read NEW_VERSION echo "[*] Pushing and tagging version $NEW_VERSION in 5 seconds..." sleep 5 for file in "${TO_UPDATE[@]}" do echo "[*] Patching $file ..." sed -i "s/$CURRENT_VERSION/$NEW_VERSION/g" $file git add $file done git commit -m "Releasing v$NEW_VERSION" git push git tag -a v$NEW_VERSION -m "Release v$NEW_VERSION" git push origin v$NEW_VERSION echo echo "[*] All done, v$NEW_VERSION released." |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |