Skip to content

Commit c66b76c

Browse files
committed
releaser
1 parent 3c4d479 commit c66b76c

File tree

5 files changed

+39
-30
lines changed

5 files changed

+39
-30
lines changed

current-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.0-SNAPSHOT
1+
1.4-SNAPSHOT

dev/resources/root-templates/pom.xml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,21 @@
8484
</configuration>
8585
</plugin>
8686
<plugin>
87-
<groupId>org.apache.maven.plugins</groupId>
88-
<artifactId>maven-release-plugin</artifactId>
89-
<version>3.1.1</version>
87+
<groupId>com.github.danielflower.mavenplugins</groupId>
88+
<artifactId>multi-module-maven-release-plugin</artifactId>
89+
<version>3.8.0</version>
9090
<configuration>
91-
<autoVersionSubmodules>true</autoVersionSubmodules>
92-
<tagNameFormat>@{project.version}</tagNameFormat>
93-
<!-- allow local cleanup if deploy fails -->
94-
<pushChanges>false</pushChanges>
95-
<localCheckout>true</localCheckout>
91+
<releaseGoals>
92+
<releaseGoal>deploy</releaseGoal>
93+
</releaseGoals>
94+
<versionReports>
95+
<versionReport>
96+
<versionsReportFilePath>version-report.json</versionsReportFilePath>
97+
<versionsReportFormat>JSON</versionsReportFormat>
98+
<releasedModulesOnly>false</releasedModulesOnly>
99+
</versionReport>
100+
</versionReports>
101+
<tagNameFormat>@{version}</tagNameFormat>
96102
</configuration>
97103
</plugin>
98104
</plugins>

dev/src/typed/dev/helpers.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
:clojurescript-mvn-version "1.11.132"
3030
:typedclojure-alpha-spec-mvn-version "0.2.177-typedclojure-2"
3131
:typedclojure-scm-connection "scm:git:https://github.com/typedclojure/typedclojure.git"
32-
:typedclojure-scm-developerConnection "scm:git:ssh://git@github.com:typedclojure/typedclojure.git"
32+
:typedclojure-scm-developerConnection "scm:git:git@github.com:typedclojure/typedclojure.git"
3333
:typedclojure-git-https-url "https://github.com/typedclojure/typedclojure"
3434
:typedclojure-alpha-spec-git-sha "9da58ec60f5a4a3bfc61fa19f54bf1d160b49dfc"
3535
:typedclojure-group-id "org.typedclojure"

pom.xml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<project.build.outputTimestamp>2023-01-01T00:00:00Z</project.build.outputTimestamp>
2424
<dateFormatTimeZone>UTC</dateFormatTimeZone>
2525
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26-
<revision>1.4.0-SNAPSHOT</revision>
26+
<revision>1.4-SNAPSHOT</revision>
2727
</properties>
2828

2929
<distributionManagement>
@@ -84,15 +84,21 @@
8484
</configuration>
8585
</plugin>
8686
<plugin>
87-
<groupId>org.apache.maven.plugins</groupId>
88-
<artifactId>maven-release-plugin</artifactId>
89-
<version>3.1.1</version>
87+
<groupId>com.github.danielflower.mavenplugins</groupId>
88+
<artifactId>multi-module-maven-release-plugin</artifactId>
89+
<version>3.8.0</version>
9090
<configuration>
91-
<autoVersionSubmodules>true</autoVersionSubmodules>
92-
<tagNameFormat>@{project.version}</tagNameFormat>
93-
<!-- allow local cleanup if deploy fails -->
94-
<pushChanges>false</pushChanges>
95-
<localCheckout>true</localCheckout>
91+
<releaseGoals>
92+
<releaseGoal>deploy</releaseGoal>
93+
</releaseGoals>
94+
<versionReports>
95+
<versionReport>
96+
<versionsReportFilePath>version-report.json</versionsReportFilePath>
97+
<versionsReportFormat>JSON</versionsReportFormat>
98+
<releasedModulesOnly>false</releasedModulesOnly>
99+
</versionReport>
100+
</versionReports>
101+
<tagNameFormat>@{version}</tagNameFormat>
96102
</configuration>
97103
</plugin>
98104
</plugins>
@@ -134,7 +140,7 @@
134140

135141
<scm>
136142
<connection>scm:git:https://github.com/typedclojure/typedclojure.git</connection>
137-
<developerConnection>scm:git:ssh://git@github.com:typedclojure/typedclojure.git</developerConnection>
143+
<developerConnection>scm:git:git@github.com:typedclojure/typedclojure.git</developerConnection>
138144
<url>https://github.com/typedclojure/typedclojure</url>
139145
<tag>HEAD</tag>
140146
</scm>

script/release-and-push.sh

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,19 @@ fi
5757
# was partially deployed. The correct fix (wrt clojars) is to simply
5858
# deploy a new version (eg., if 1.0.0 fails, try 1.0.1 next).
5959
( set -x;
60-
mvn release:prepare release:perform \
61-
-DreleaseVersion="$RELEASE_VERSION" \
62-
-Dtag="$RELEASE_VERSION" \
63-
-DdevelopmentVersion="$DEVELOPMENT_VERSION"
60+
mvn releaser:release
6461
)
6562

6663
echo $RELEASE_VERSION > stable-version
6764
echo "$(git rev-parse "$RELEASE_VERSION")" > stable-sha
6865
echo $DEVELOPMENT_VERSION > current-version
6966

70-
./script/regen-selmer.sh
71-
./script/update_release_notes.clj
67+
#./script/regen-selmer.sh
68+
#./script/update_release_notes.clj
7269

73-
git add .
74-
git commit -m "Bump README versions for $RELEASE_VERSION"
70+
#git add .
71+
#git commit -m "Bump README versions for $RELEASE_VERSION"
7572

7673
# DON'T PRINT HERE
77-
git push "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" main
78-
git push "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" tag "$RELEASE_VERSION"
74+
#git push "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" main
75+
#git push "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" tag "$RELEASE_VERSION"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy