-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ef9279
commit 36b7053
Showing
2 changed files
with
12 additions
and
12 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 |
---|---|---|
|
@@ -31,7 +31,7 @@ runs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "aiSSEMBLE Team" | ||
git diff | ||
git add . | ||
git add docs/antora.yml docs/modules/ROOT/attachments/ | ||
git commit -S -m "Updating Antora documentation for version ${{ inputs.version }}" | ||
git push origin HEAD:${{ inputs.release-branch }} | ||
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 |
---|---|---|
|
@@ -83,17 +83,6 @@ jobs: | |
release-branch: ${{ steps.split_version.outputs.release-branch }} | ||
custom-facet-old-version: ${{ steps.split_version.outputs.existing-version }} | ||
custom-facet-new-version: ${{ env.RELEASE_VERSION }} | ||
- name: Install dependencies | ||
uses: ./.github/actions/install_dependencies | ||
with: | ||
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
docker-token: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Create settings.xml | ||
run: | | ||
echo "<settings><servers><server><id>ossrh</id><username>${{ secrets.SONATYPE_CENTRAL_REPO_TOKEN_USER }}</username><password>${{ secrets.SONATYPE_CENTRAL_REPO_TOKEN_KEY }}</password></server><server><id>ghcr.io</id><username>${{ secrets.GHCR_IO_USERNAME }}</username><password>${{ secrets.GHCR_IO_TOKEN }}</password></server><server><id>pypi</id><username>${{ secrets.PYPI_USERNAME }}</username><password>${{ secrets.PYPI_TOKEN }}</password></server></servers></settings>" > $HOME/.m2/settings.xml | ||
- name: Release aiSSEMBLE | ||
run: | | ||
./mvnw release:clean release:prepare release:perform -s $HOME/.m2/settings.xml -U -B -Pci,gh-build -DdryRun=true -DpushChanges=true -DreleaseVersion=${{ env.RELEASE_VERSION }} -DdevelopmentVersion=${{ env.NEXT_DEVELOPMENT_VERSION }} [email protected] -DsignTag=true -Dmaven.build.cache.enabled=false | ||
- name: Split version | ||
id: split_version_development | ||
uses: ./.github/actions/split_version | ||
|
@@ -109,4 +98,15 @@ jobs: | |
release-branch: ${{ steps.split_version.outputs.release-branch }} | ||
custom-facet-old-version: ${{ env.RELEASE_VERSION }} | ||
custom-facet-new-version: ${{ env.NEXT_DEVELOPMENT_VERSION }} | ||
- name: Install dependencies | ||
uses: ./.github/actions/install_dependencies | ||
with: | ||
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
docker-token: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Create settings.xml | ||
run: | | ||
echo "<settings><servers><server><id>ossrh</id><username>${{ secrets.SONATYPE_CENTRAL_REPO_TOKEN_USER }}</username><password>${{ secrets.SONATYPE_CENTRAL_REPO_TOKEN_KEY }}</password></server><server><id>ghcr.io</id><username>${{ secrets.GHCR_IO_USERNAME }}</username><password>${{ secrets.GHCR_IO_TOKEN }}</password></server><server><id>pypi</id><username>${{ secrets.PYPI_USERNAME }}</username><password>${{ secrets.PYPI_TOKEN }}</password></server></servers></settings>" > $HOME/.m2/settings.xml | ||
- name: Release aiSSEMBLE | ||
run: | | ||
./mvnw release:clean release:prepare release:perform -s $HOME/.m2/settings.xml -U -B -Pci,gh-build -DdryRun=true -DpushChanges=true -DreleaseVersion=${{ env.RELEASE_VERSION }} -DdevelopmentVersion=${{ env.NEXT_DEVELOPMENT_VERSION }} [email protected] -DsignTag=true -Dmaven.build.cache.enabled=false | ||