-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
on-behalf-of: @terrestris [email protected]
- Loading branch information
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,10 @@ for GS_VERSION in $GITHUB_GS_VERSIONS; do | |
git checkout -b "v$GS_VERSION" > /dev/null 2>&1 | ||
sed -i "s;^ARG GS_VERSION=[0-9.]\+;ARG GS_VERSION=$GS_VERSION;g" ../Dockerfile | ||
sed -i "s;^ - GS_VERSION=[0-9.]\+; - GS_VERSION=$GS_VERSION;g" ../docker-compose-demo.yml | ||
git commit --allow-empty -m "Update to version $GS_VERSION" ../Dockerfile ../docker-compose-demo.yml > /dev/null 2>&1 | ||
git commit --allow-empty -m 'Update to version $GS_VERSION | ||
on-behalf-of: @terrestris [email protected]' ../Dockerfile ../docker-compose-demo.yml > /dev/null 2>&1 | ||
git push --force upstream "v$GS_VERSION" | ||
else | ||
echo "v${GS_VERSION} is not yet available on SourceForge! Skipping docker build for now." | ||
|
@@ -84,7 +87,10 @@ else | |
git checkout master > /dev/null 2>&1 | ||
sed -i "s;^ARG GS_VERSION=[0-9.]\+;ARG GS_VERSION=$LATEST_GS_VERSION;g" ../Dockerfile | ||
sed -i "s;^ - GS_VERSION=[0-9.]\+; - GS_VERSION=$LATEST_GS_VERSION;g" ../docker-compose-demo.yml | ||
git commit --allow-empty -m "Update to latest version $LATEST_GS_VERSION" ../Dockerfile ../docker-compose-demo.yml | ||
git commit --allow-empty -m 'Update to latest version $LATEST_GS_VERSION | ||
on-behalf-of: @terrestris [email protected]' ../Dockerfile ../docker-compose-demo.yml | ||
git push upstream master | ||
|
||
echo "Finished! Latest geoserver version is $LATEST_GS_VERSION!" | ||
|