Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nesk committed Dec 26, 2024
1 parent ea74e68 commit d33fb33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release new version
name: Release a new version
on:
workflow_dispatch:
inputs:
Expand All @@ -11,7 +11,7 @@ env:

jobs:
create-release-pr:
name: Create a pull request for the release
name: Create a release and a pull request
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -59,9 +59,9 @@ jobs:
#### Maven Central Repository
Head to the [Nexus Repository Manager](https://s01.oss.sonatype.org/#stagingRepositories) and verify if the newly created staging repository is valid, meaning:
- all the artifacts are present (root directories starting with `akkurate-` in the sources);
- all the artifacts are present (root directories starting with \`akkurate-\` in the sources);
- each artifact is built for nearly [all multiplatform targets](https://kotlinlang.org/docs/multiplatform-dsl-reference.html#targets);
- and all the files are signed with multiple `.asc` variations.
- and all the files are signed with multiple \`.asc\` variations.
If everything is compliant to this checklist, close the repository, then release it.
Expand All @@ -74,8 +74,8 @@ jobs:
### Aborting the release
In case you want to cancel everything and restart from a clean slate:
- Delete the tag and the branch: `git push --delete origin $RELEASE_VERSION release/$RELEASE_VERSION`
- Delete the release: `gh release delete $RELEASE_VERSION`"
- Delete the tag and the branch: \`git push --delete origin $RELEASE_VERSION release/$RELEASE_VERSION\`
- Delete the release: \`gh release delete $RELEASE_VERSION\`"
publish:
name: Publish to Maven Central Repository
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ trigger [the release workflow](.github/workflows/release.yml)
and then follow the instructions of the created pull request.

```shell
gh workflow run release.yml -f version=1.2.3
gh workflow run release.yml -f version=1.22.3
```

0 comments on commit d33fb33

Please sign in to comment.