Skip to content

Commit

Permalink
ci: trigger release build
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Oct 8, 2024
1 parent fa6c705 commit 1b68ad0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
19 changes: 16 additions & 3 deletions .ci/maven-settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,27 @@
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
<servers>
<server>
<id>sonatype-ossrh</id>
<username>${env.SONATYPE_OSSRH_USER}</username>
<password>${env.SONATYPE_OSSRH_USER_TOKEN}</password>
<id>central.sonatype.com</id>
<username>${env.SONATYPE_CENTRAL_USER}</username>
<password>${env.SONATYPE_CENTRAL_TOKEN}</password>
<configuration>
<!-- https://maven.apache.org/guides/mini/guide-resolver-transport.html#timeouts -->
<connectTimeout>10000</connectTimeout>
<requestTimeout>30000</requestTimeout>
</configuration>
</server>
<server>
<id>github-commits</id>
<username>${env.GITHUB_USER}</username>
<password>${env.GITHUB_API_KEY}</password>
</server>
<server>
<id>central</id>
<configuration>
<!-- https://maven.apache.org/guides/mini/guide-resolver-transport.html#timeouts -->
<connectTimeout>10000</connectTimeout>
<requestTimeout>30000</requestTimeout>
</configuration>
</server>
</servers>
</settings>
4 changes: 2 additions & 2 deletions .ci/release-trigger.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# this file is evaluated by .ci/build.sh

POM_CURRENT_VERSION="1.0.6-SNAPSHOT" # perform release if pom.xml matches this version
POM_RELEASE_VERSION="1.1.0" # next release version
POM_CURRENT_VERSION="1.1.1-SNAPSHOT" # perform release if pom.xml matches this version
POM_RELEASE_VERSION="1.2.0" # next release version

DRY_RUN=false # is dry run?
SKIP_TESTS=true # skip tests during release build?
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ check for new dependency/plugin updates using:
<parent>
<groupId>com.vegardit.maven</groupId>
<artifactId>vegardit-maven-parent</artifactId>
<version>6.1.1</version>
<version>6.1.2</version>
</parent>

<groupId>com.vegardit.no-npe</groupId>
Expand Down

0 comments on commit 1b68ad0

Please sign in to comment.