Skip to content

Commit ac5df89

Browse files
committed
Setup release process
1 parent 51bcd2a commit ac5df89

File tree

4 files changed

+49
-16
lines changed

4 files changed

+49
-16
lines changed

.github/renovate.json

+3-15
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
23
"extends": [
3-
"config:base",
4-
":preserveSemverRanges",
5-
":rebaseStalePrs",
6-
":disableDependencyDashboard"
7-
],
8-
"labels": [":robot: dependencies"],
9-
"prHourlyLimit": 0,
10-
"packageRules": [
11-
{
12-
"depTypeList": ["devDependencies", "dependencies"],
13-
"updateTypes": ["minor", "patch"],
14-
"automerge": true,
15-
"automergeType": "branch"
16-
}
4+
"github>cucumber/renovate-config"
175
]
18-
}
6+
}

.github/workflows/release-github.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release GitHub
2+
3+
on:
4+
push:
5+
branches: [release/*]
6+
7+
jobs:
8+
create-github-release:
9+
name: Create GitHub Release and Git tag
10+
runs-on: ubuntu-latest
11+
environment: Release
12+
permissions:
13+
contents: write
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: cucumber/[email protected]
17+
with:
18+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-mvn.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release Maven
2+
3+
on:
4+
push:
5+
branches: [release/*]
6+
7+
jobs:
8+
publish-mvn:
9+
name: Publish Maven Package
10+
runs-on: ubuntu-latest
11+
environment: Release
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-java@v3
15+
with:
16+
distribution: 'temurin'
17+
java-version: '11'
18+
cache: 'maven'
19+
- uses: cucumber/[email protected]
20+
with:
21+
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
22+
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
23+
nexus-username: cukebot
24+
nexus-password: ${{ secrets.SONATYPE_PASSWORD }}
25+
working-directory: java

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111
- Java implementation ([#3](https://github.com/cucumber/cucumber-junit-xml-formatter/pull/3) M.P. Korstanje)
1212

13+
## [0.0.0]
1314

14-
[Unreleased]: https://github.com/cucumber/action-publish-poetry/compare/0.0.0...HEAD
15+
[0.0.0]: https://github.com/cucumber/cucumber-junit-xml-formatter/compare/v0.0.0...main
16+
[Unreleased]: https://github.com/cucumber/cucumber-junit-xml-formatter/compare/438ec1f6218a849eb2a684982e2ff7e304a3155f...v0.0.0

0 commit comments

Comments
 (0)