File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2525
2626 - name : Build, run tests and upload dev snapshot to Maven Central with Gradle
2727 run : |
28- ./gradlew devSnapshot printDevSnapshotReleaseNote && ./gradlew devSanitizedVersion printSanitizedVersion
28+ ./gradlew devSnapshot printDevSnapshotReleaseNote \
29+ ./gradlew devSanitizedVersion printSanitizedVersion
2930 env :
3031 STORE_ID : ${{ secrets.STORE_ID }}
3132 API_TOKEN : ${{ secrets.API_TOKEN }}
3536 OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
3637 OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
3738 GITHUB_HEAD_REF : ${{ github.head_ref }}
38- GITHUB_HEAD_SHA : ${{ github.event.pull_request.head.ref }}
39+ GITHUB_HEAD_SHA : ${{ github.event.pull_request.head.sha }}
3940
4041 - name : Read sanitized version
4142 id : read_sanitized_version
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ nexusPublishing {
217217// <major>.<minor>.<patch>-dev.#+<branchname>.<hash> (local branch)
218218// <major>.<minor>.<patch>-dev.#+<hash> (github pull request)
219219// to:
220- // <major>.<minor>.<patch>-dev+<branchname >-SNAPSHOT
220+ // <major>.<minor>.<patch>-dev+<hash >-SNAPSHOT
221221fun Project.sanitizeVersion (): String {
222222 val version = version.toString()
223223 return if (project.isSnapshotVersion()) {
You can’t perform that action at this time.
0 commit comments