Skip to content

Commit

Permalink
chore: disable changelog modification, change scm urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Jaensson committed Oct 14, 2022
1 parent c015749 commit 73e479a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<packaging>pom</packaging>
<name>Logbook</name>
<description>HTTP request and response logging</description>
<url>https://github.com/zalando/logbook</url>
<url>https://github.com/smartbear/logbook</url>
<inceptionYear>2015</inceptionYear>
<organization>
<name>Zalando SE</name>
<name>SmartBear</name>
</organization>
<licenses>
<license>
Expand Down Expand Up @@ -65,8 +65,8 @@
<module>logbook-test</module>
</modules>
<scm>
<url>https://github.com/zalando/logbook</url>
<connection>scm:git:[email protected]:zalando/logbook.git</connection>
<developerConnection>scm:git:[email protected]:zalando/logbook.git</developerConnection>
<url>https://github.com/smartbear/logbook</url>
<connection>scm:git:[email protected]:smartbear/logbook.git</connection>
<developerConnection>scm:git:[email protected]:smartbear/logbook.git</developerConnection>
</scm>
</project>
8 changes: 4 additions & 4 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -euxo pipefail

: "${1?"Usage: $0 <[pre]major|[pre]minor|[pre]patch|prerelease>"}"
: "${CHANGELOG_GITHUB_TOKEN?"Needs CHANGELOG_GITHUB_TOKEN env var"}"
#: "${CHANGELOG_GITHUB_TOKEN?"Needs CHANGELOG_GITHUB_TOKEN env var"}"

./mvnw scm:check-local-modification

Expand All @@ -15,13 +15,13 @@ git checkout -b "release/${release}"

./mvnw versions:set -D newVersion="${release}"
git commit -am "Release ${release}"
./mvnw clean deploy scm:tag -P release -D tag="${release}" -D pushChanges=false -D skipTests -D dependency-check.skip
./mvnw clean install scm:tag -P release -D tag="${release}" -D pushChanges=false -D skipTests -D dependency-check.skip

git push --tags

./mvnw versions:set -D newVersion="${next}-SNAPSHOT"
docker run -it --rm -e CHANGELOG_GITHUB_TOKEN -v "$(pwd)":/usr/local/src/your-app \
githubchangeloggenerator/github-changelog-generator -u zalando -p logbook
#docker run -it --rm -e CHANGELOG_GITHUB_TOKEN -v "$(pwd)":/usr/local/src/your-app \
# githubchangeloggenerator/github-changelog-generator -u zalando -p logbook
git commit -am "Development ${next}-SNAPSHOT"

git push
Expand Down

0 comments on commit 73e479a

Please sign in to comment.