update profile name

This commit is contained in:
2024-08-29 07:13:29 +10:00
parent ae5aed963a
commit f3d1e5cf89
3 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ jobs:
RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }} RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }}
run: | run: |
mvn -X -B deploy \ mvn -X -B deploy \
-P homelab \ -P publish \
--settings=${{ github.workspace }}/.mvn/settings.xml --settings=${{ github.workspace }}/.mvn/settings.xml
- name: Finish release - name: Finish release
run: mvn gitflow:release-finish -B -DpushRemote=true -DallowSnapshots=true run: mvn gitflow:release-finish -B -DpushRemote=true -DallowSnapshots=true

View File

@@ -32,7 +32,7 @@ jobs:
RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }} RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }}
run: | run: |
mvn -X -B deploy \ mvn -X -B deploy \
-P homelab \ -P publish \
--settings=${{ github.workspace }}/.mvn/settings.xml --settings=${{ github.workspace }}/.mvn/settings.xml
- uses: actions/upload-artifact@v3.1.3 - uses: actions/upload-artifact@v3.1.3
if: always() if: always()

View File

@@ -1,7 +1,7 @@
<settings> <settings>
<profiles> <profiles>
<profile> <profile>
<id>homelab</id> <id>publish</id>
<properties> <properties>
<altSnapshotDeploymentRepository>${env.DEPLOYMENT_REPOSITORY_ID}::${env.SNAPSHOT_DEPLOYMENT_REPOSITORY_URL}</altSnapshotDeploymentRepository> <altSnapshotDeploymentRepository>${env.DEPLOYMENT_REPOSITORY_ID}::${env.SNAPSHOT_DEPLOYMENT_REPOSITORY_URL}</altSnapshotDeploymentRepository>
<altReleaseDeploymentRepository>${env.DEPLOYMENT_REPOSITORY_ID}::${env.RELEASE_DEPLOYMENT_REPOSITORY_URL}</altReleaseDeploymentRepository> <altReleaseDeploymentRepository>${env.DEPLOYMENT_REPOSITORY_ID}::${env.RELEASE_DEPLOYMENT_REPOSITORY_URL}</altReleaseDeploymentRepository>