diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 9695b93..2ed1c05 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: push: pull_request: - branches: [ "master", "develop" ] + branches: [ "fork_master", "fork_develop" ] jobs: build: @@ -29,7 +29,7 @@ jobs: run: mvn install -Dmaven.javadoc.skip=true -B -V - name: Release to maven central - if: github.ref_name == 'master' && github.event_name != 'pull_request' && github.repository == 'swisspost/jsonschema2pojo-openenum' + if: github.ref_name == 'fork_master' && github.event_name != 'pull_request' && github.repository == 'gedestroy/jsonschema2pojo-openenum' run: | curl -s get.sdkman.io | bash source "$HOME/.sdkman/bin/sdkman-init.sh" diff --git a/maybe-release.sh b/maybe-release.sh index 601421e..dc5166a 100644 --- a/maybe-release.sh +++ b/maybe-release.sh @@ -26,8 +26,8 @@ then echo 'Release done, will push' git tag git push --tags - git checkout develop - git push origin develop + git checkout fork_develop + git push origin fork_develop exit 0 fi echo 'Release failed' diff --git a/pom.xml b/pom.xml index becd93f..0d42750 100644 --- a/pom.xml +++ b/pom.xml @@ -140,8 +140,8 @@ 1.0-m5.1 - master - develop + fork_master + fork_develop feature- release- hotfix-