Skip to content

Commit

Permalink
[maven-release-plugin] prepare release v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alecharp committed Mar 17, 2023
1 parent 9ad596c commit 05ce9e6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<parent>
<groupId>io.jenkins.pluginhealth.scoring</groupId>
<artifactId>plugin-health-scoring-parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<groupId>io.jenkins.pluginhealth.scoring</groupId>
<artifactId>plugin-health-scoring-parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
<packaging>pom</packaging>

<name>Plugin Health Scoring :: Parent</name>
Expand Down Expand Up @@ -73,7 +73,7 @@
<scm>
<connection>scm:git:https://github.com/jenkins-infra/plugin-health-scoring.git</connection>
<developerConnection>scm:git:git@github.com:jenkins-infra/plugin-health-scoring.git</developerConnection>
<tag>HEAD</tag>
<tag>v2.0.0</tag>
<url>https://github.com/jenkins-infra/plugin-health-scoring</url>
</scm>
<distributionManagement>
Expand Down
2 changes: 1 addition & 1 deletion test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<parent>
<groupId>io.jenkins.pluginhealth.scoring</groupId>
<artifactId>plugin-health-scoring-parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../</relativePath>
</parent>

Expand Down
17 changes: 7 additions & 10 deletions war/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<parent>
<groupId>io.jenkins.pluginhealth.scoring</groupId>
<artifactId>plugin-health-scoring-parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
<relativePath>../</relativePath>
</parent>

Expand Down Expand Up @@ -173,16 +173,13 @@
<phase>validate</phase>
<configuration>
<tasks>
<property name="yarn.dest" value="${project.basedir}/.yarn/releases/yarn-${yarn-berry.version}.cjs"/>
<dirname file="${yarn.dest}" property="yarn.dest.dir"/>
<mkdir dir="${yarn.dest.dir}"/>
<get dest="${yarn.dest}"
src="https://repo.yarnpkg.com/${yarn-berry.version}/packages/yarnpkg-cli/bin/yarn.js"
usetimestamp="true"/>
<checksum algorithm="SHA-256" file="${yarn.dest}" property="${yarn-berry.sha256sum}"
verifyProperty="yarn.checksum.matches"/>
<property name="yarn.dest" value="${project.basedir}/.yarn/releases/yarn-${yarn-berry.version}.cjs" />
<dirname file="${yarn.dest}" property="yarn.dest.dir" />
<mkdir dir="${yarn.dest.dir}" />
<get dest="${yarn.dest}" src="https://repo.yarnpkg.com/${yarn-berry.version}/packages/yarnpkg-cli/bin/yarn.js" usetimestamp="true" />
<checksum algorithm="SHA-256" file="${yarn.dest}" property="${yarn-berry.sha256sum}" verifyProperty="yarn.checksum.matches" />
<condition property="yarn.checksum.matches.fail">
<equals arg1="${yarn.checksum.matches}" arg2="false"/>
<equals arg1="${yarn.checksum.matches}" arg2="false" />
</condition>
<fail if="yarn.checksum.matches.fail">Checksum error</fail>
</tasks>
Expand Down

0 comments on commit 05ce9e6

Please sign in to comment.