File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 push :
44 branches :
55 - main
6- - 6.9.1
6+ - 6.9.0
77permissions :
88 contents : write
99 pull-requests : write
@@ -37,12 +37,12 @@ jobs:
3737 git push -u origin $BRANCH_NAME
3838 - run : mvn -q clean install -DskipTests -q -DnvdApiKey=${{ secrets.NVD_API_KEY }}
3939 - run : mvn -q -B release:prepare -DskipTests
40- - run : mvn -B release:perform -DskipTests
40+ - run : mvn -B release:perform -DskipTests -DperformRelease=true
4141 - run : |
4242 curl -X POST "https://api.github.com/repos/digital-preservation/droid/pulls" \
4343 -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
4444 -H "Accept: application/vnd.github+json" \
45- -d '{"title": "Version bump for ${{ github.event.inputs.to-deploy }} ","head": "$BRANCH_NAME","base": "main"}'
45+ -d '{"title": "Version bump","head": "$BRANCH_NAME","base": "main"}'
4646 github-release :
4747 runs-on : ubuntu-latest
4848 steps :
Original file line number Diff line number Diff line change 244244 </pluginManagement >
245245
246246 <plugins >
247- <plugin >
248- <groupId >org.apache.maven.plugins</groupId >
249- <artifactId >maven-gpg-plugin</artifactId >
250- <executions >
251- <execution >
252- <id >sign-artifacts</id >
253- <phase >verify</phase >
254- <goals >
255- <goal >sign</goal >
256- </goals >
257- </execution >
258- </executions >
259- </plugin >
260247 <plugin >
261248 <groupId >org.sonatype.plugins</groupId >
262249 <artifactId >nexus-staging-maven-plugin</artifactId >
@@ -580,6 +567,33 @@ Copyright © ${project.inceptionYear}-{currentYear} <a href="${project.organ
580567 </reporting >
581568
582569 <profiles >
570+ <profile >
571+ <id >release-sign-artifacts</id >
572+ <activation >
573+ <property >
574+ <name >performRelease</name >
575+ <value >true</value >
576+ </property >
577+ </activation >
578+ <build >
579+ <plugins >
580+ <plugin >
581+ <groupId >org.apache.maven.plugins</groupId >
582+ <artifactId >maven-gpg-plugin</artifactId >
583+ <executions >
584+ <execution >
585+ <id >sign-artifacts</id >
586+ <phase >verify</phase >
587+ <goals >
588+ <goal >sign</goal >
589+ </goals >
590+ </execution >
591+ </executions >
592+ </plugin >
593+ </plugins >
594+ </build >
595+ </profile >
596+
583597 <profile >
584598 <id >upload-jacoco-to-coveralls</id >
585599 <activation >
You can’t perform that action at this time.
0 commit comments