Skip to content

Commit

Permalink
Bump verson to v1.2-alpha25
Browse files Browse the repository at this point in the history
  • Loading branch information
inexorabletash committed Jan 26, 2021
1 parent 5128cbe commit 38d75cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions bin/bumpver
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#!/usr/bin/env bash

# Bump version:
# * Increment prealpha tag number
# * Increment version tag number
# * Update common.inc release string
# * Update common.inc release date

# Assumes:
# * Tag is of the form: v1.2-prealpha20
# * Tag is of the form: v1.2-alpha20


# Most recent tag
OLDTAG=`git describe --tags --abbrev=0`
OLDVER=${OLDTAG#v1.2-prealpha}
OLDVER=$(echo "$OLDTAG" | sed -E 's/^v[0-9]+\.[0-9]+-[a-z]+//')
NEWVER=`expr $OLDVER + 1`
NEWTAG="v1.2-prealpha$NEWVER"
NEWTAG="v1.2-alpha$NEWVER"
DATE=`date '+%B %d, %Y'`

echo "Bumping to $NEWTAG..."
Expand Down
4 changes: 2 additions & 2 deletions common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
.define kDeskTopProductName "Apple II DeskTop"
kDeskTopVersionMajor = 1
kDeskTopVersionMinor = 2
.define kDeskTopVersionSuffix "-alpha24"
.define kDeskTopReleaseDate "January 16, 2021"
.define kDeskTopVersionSuffix "-alpha25"
.define kDeskTopReleaseDate "January 25, 2021"

;;; ============================================================

Expand Down

0 comments on commit 38d75cb

Please sign in to comment.