Skip to content

Commit

Permalink
Add connectorio profile for releases.
Browse files Browse the repository at this point in the history
Signed-off-by: Łukasz Dywicki <luke@code-house.org>
  • Loading branch information
splatch committed Sep 26, 2023
1 parent bf965d9 commit 68448a6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ jobs:
- name: Maven Prepare Release
run: >-
mvn -B
release:prepare -DpreparationProfiles=release
release:prepare -DpreparationProfiles=release,connectorio
-DreleaseVersion=${{ inputs.releaseVersion }}
-DdevelopmentVersion=${{ inputs.developmentVersion }}
-DdryRun=${{ inputs.dryRun }}
- name: Maven Perform Release
if: success()
run: >-
mvn -B
release:perform -DreleaseProfiles=release
release:perform -DreleaseProfiles=release,connectorio
env:
CI_RELEASE_USERNAME: ${{ secrets.CI_RELEASE_USERNAME }}
CI_RELEASE_PASSWORD: ${{ secrets.CI_RELEASE_PASSWORD }}
Expand Down
25 changes: 24 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<preparationGoals>clean install</preparationGoals>
Expand All @@ -64,4 +63,28 @@
</plugins>
</build>

<profiles>
<profile>
<id>connectorio</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>

<repositories>
<repository>
<id>co7io-public-releases</id>
<url>https://repository.connectorio.cloud/repository/co7io-public-releases</url>
<snapshots><enabled>false</enabled></snapshots>
<releases><enabled>true</enabled></releases>
</repository>
<repository>
<id>co7io-public-snapshots</id>
<url>https://repository.connectorio.cloud/repository/co7io-public-snapshots</url>
<snapshots><enabled>true</enabled></snapshots>
<releases><enabled>false</enabled></releases>
</repository>
</repositories>
</profile>
</profiles>

</project>

0 comments on commit 68448a6

Please sign in to comment.