Skip to content

Commit

Permalink
sync to notes in relbranch78
Browse files Browse the repository at this point in the history
  • Loading branch information
neteler committed Nov 9, 2019
1 parent 5ecce61 commit b4ed2bd
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions doc/howto_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ Preparation:
# assumptions:
# - own fork as "origin"
# - remote repo as "upstream"
git fetch --all --prune && git checkout master && \
git merge upstream/master && git push origin master
git fetch --all --prune && git checkout releasebranch_7_8 && \
git merge upstream/releasebranch_7_8 && git push origin releasebranch_7_8

# create version env var for convenience:
MAJOR=`cat include/VERSION | head -1 | tail -1`
Expand Down Expand Up @@ -163,6 +163,13 @@ If RC, then check
TODO: add checkout of code via release tag (?)

```bash
# update again from GH to fetch tag
# assumptions:
# - own fork as "origin"
# - remote repo as "upstream"
git fetch --all --prune && git checkout releasebranch_7_8 && \
git merge upstream/releasebranch_7_8 && git push origin releasebranch_7_8

# create source package (in the source directory):
echo grass-${VERSION}

Expand Down Expand Up @@ -210,8 +217,8 @@ Reset local copy to GH:
# assumptions:
# - own fork as "origin"
# - remote repo as "upstream"
git fetch --all --prune && git checkout master && \
git merge upstream/master && git push origin master
git fetch --all --prune && git checkout releasebranch_7_8 && \
git merge upstream/releasebranch_7_8 && git push origin releasebranch_7_8
```

### Upload source code tarball to OSGeo servers
Expand All @@ -237,6 +244,9 @@ scp -p grass-$VERSION.* AUTHORS COPYING ChangeLog_$VERSION.gz \
ssh neteler@$SERVER1 "cd $SERVER1DIR ; rm -f grass-$MAJOR.$MINOR-latest.tar.gz"
ssh neteler@$SERVER1 "cd $SERVER1DIR ; ln -s grass-$VERSION.tar.gz grass-$MAJOR.$MINOR-latest.tar.gz"

# verify
echo "https://$SERVER1/grass$MAJOR$MINOR/source/"

# update winGRASS related files: Update the winGRASS version
vim grass-addons/tools/wingrass-packager/grass_packager_release.bat
vim grass-addons/tools/wingrass-packager/grass_addons.sh
Expand Down

0 comments on commit b4ed2bd

Please sign in to comment.