Skip to content

Commit

Permalink
Merge pull request #1560 from rouault/update_howto_release
Browse files Browse the repository at this point in the history
HOWTO-RELEASE: add instructions to avoid website to be erased by an older version
  • Loading branch information
rouault authored Aug 8, 2019
2 parents ec515bb + 238f18c commit e52fc2a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions HOWTO-RELEASE
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,11 @@ version numbers in the files.

*Commit changes. Either to master or maintenance branch depending on the nature
of the release.*

3.2 Disable website deployment when releasing a new non-bugfix version
-------------------------------------------------------------------------------

If the previous active version was, let's say, 6.1 and the new version is, let's say, 6.2,
then checkout 6.1 branch, and in travis/after_success.sh, remove the code
that causes commits to 6.1 to cause a website refresh, that is remove the
code under `if test "$TRAVIS_SECURE_ENV_VARS" = "true" -a "$TRAVIS_BRANCH" = "6.1"; then`.

0 comments on commit e52fc2a

Please sign in to comment.