Skip to content

Commit 20a28d7

Browse files
Update gluon-samples on release (#128)
1 parent e7e3ae0 commit 20a28d7

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.ci/release.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,7 @@ git push https://gluon-bot:[email protected]/$TRAVIS_REPO_SLUG HEAD:ma
4242
bash .ci/update-archetypes.sh "$TRAVIS_TAG"
4343

4444
# Update openjfx-docs
45-
bash .ci/update-openjfx-docs.sh "$TRAVIS_TAG"
45+
bash .ci/update-openjfx-docs.sh "$TRAVIS_TAG"
46+
47+
# Update gluon-samples
48+
bash .ci/update-gluon-samples.sh "$TRAVIS_TAG"

.ci/update-gluon-samples.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
SAMPLES_REPO_SLUG=gluonhq/gluon-samples
2+
3+
cd $TRAVIS_BUILD_DIR
4+
git clone https://github.com/$SAMPLES_REPO_SLUG
5+
cd gluon-samples
6+
7+
# Update plugin version
8+
mvn versions:set-property -Dproperty=javafx.maven.plugin.version -DnewVersion="$1" -DgenerateBackupPoms=false
9+
10+
git commit pom.xml -m "Update javafx-maven-plugin version to $1"
11+
git push https://gluon-bot:$GITHUB_PASSWORD@github.com/$SAMPLES_REPO_SLUG HEAD:master

0 commit comments

Comments
 (0)