Skip to content

Commit

Permalink
update build doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Hardin committed Apr 26, 2021
1 parent b40fbd2 commit dbe9c89
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions build.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,28 @@ Note: Replace '0.10' in the examples below with the current version.

* Start release branch

# Set the connver to the new version number
connver=0.10
git flow release start $connver develop
# Set the modver to the new version number
modver=0.10
git flow release start $modver develop

* Bump version number in lib/Connector.pm
* Make any last-minute fixes

perl -i -pe "s{^version: .+}{version: '$connver';};" \
META.yml
git add META.yml
git commit -m "bump version to $connver"
* Run unit tests

* Make any last-minute fixes
perl Makefile.PL
make test

* Bump version number in lib/Crypt/X509.pm

perl -i -pe "s{^our \\\$VERSION.+}{our \\\$VERSION = '$modver';};" lib/Crypt/X509.pm
perl -i -pe "s{^version: .+}{version: '$modver';};" META.yml
git add lib/Crypt/X509.pm META.yml
git commit -m "bump version to $modver"

* Finalize release (write the version number in the TAG\_MSG)

git flow release finish "$connver"
git push origin develop master "$connver"
git flow release finish "$modver"
git push origin develop master "$modver"

* Build tarball

Expand Down

0 comments on commit dbe9c89

Please sign in to comment.