Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
- added a comment indicating what to change for new releases
  • Loading branch information
Macitron authored and Enorovan committed Mar 22, 2024
1 parent 9b039df commit 31c783c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions polyversal
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

### Constants ###

# Script version, used to check if out-of-date.
# Update this when creating a new release.
readonly VERSION=2.1.1

progname="$(basename "$0")"
readonly progname

Expand All @@ -18,8 +22,7 @@ function iso_date() { date +%Y%m%dT%H%M%S; }
exectime=$(iso_date)
readonly exectime

# For checking whether the script is out-of-date
readonly VERSION=2.1.0
# Repo info for version check
readonly REPO_ID="CommitteeOfZero/polyversal-coz-linux-patcher"
readonly URL_RELEASES="https://github.com/${REPO_ID}/releases"
readonly URL_API_LATEST="https://api.github.com/repos/${REPO_ID}/releases/latest"
Expand Down

0 comments on commit 31c783c

Please sign in to comment.