Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get releaseVersion by GitHub CLI #602

Merged
merged 1 commit into from
Sep 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions RELEASE_OPERATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The Gradle release task creates a release commit and push it to the origin/maste
```
$ git checkout master
$ git pull
$ ./gradlew release -Prelease.releaseVersion=2.43.1
$ ./gradlew release -Prelease.releaseVersion=$(gh release list -L 1 | tee /dev/tty | awk '{print $1}')
```

The value of `release.releaseVersion` is decided by the draft name of
Expand All @@ -28,7 +28,7 @@ The workflow builds artifacts and publishes them to [Maven Central](https://repo
Use [Dependency Watch](https://github.com/JakeWharton/dependency-watch).

```
$ dependency-watch await org.seasar.doma:doma-core:2.43.1 && say "New version is available!"
$ dependency-watch await org.seasar.doma:doma-core:$(gh release list -L 1 | tee /dev/tty | awk '{print $1}') && say "New version is available!"
```

If the above command is successful, the following directories will contain the new artifacts:
Expand Down