Skip to content

Commit abae008

Browse files
committed
Changed tagNameFormat for release: became release-$project.version
1 parent 30dafed commit abae008

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: |
4242
mvn -B build-helper:parse-version release:prepare \
4343
-DreleaseVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.incrementalVersion} \
44-
-DautoVersionSubmodules=true -Darguments="-DskipTests=true"
44+
-Darguments="-DskipTests=true -Ddockerfile.skip=true"
4545
echo ::set-output name=release_tag::$(git describe --tags --abbrev=0)
4646
- name: Perform release
4747
run: mvn -B release:perform -Darguments="-DskipTests=true -Ddockerfile.skip=true"

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
<autoVersionSubmodules>true</autoVersionSubmodules>
199199
<useReleaseProfile>true</useReleaseProfile>
200200
<releaseProfiles>release</releaseProfiles>
201-
<tagNameFormat>@{project.artifactId}/@{project.version}</tagNameFormat>
201+
<tagNameFormat>release-@{project.version}</tagNameFormat>
202202
<goals>deploy</goals>
203203
<username>${env.GITHUB_ACTOR}</username>
204204
<password>${env.GITHUB_TOKEN}</password>

0 commit comments

Comments
 (0)