-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update release process, use .yaml extension for workflows
- Loading branch information
1 parent
6393de3
commit 8a355a2
Showing
5 changed files
with
41 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Release GitHub | ||
|
||
on: | ||
push: | ||
branches: [release/*] | ||
|
||
jobs: | ||
create-github-release: | ||
name: Create GitHub Release and Git tag | ||
runs-on: ubuntu-latest | ||
environment: Release | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: cucumber/action-create-github-release@v1.1.0 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Releasing | ||
|
||
First, update as many dependencies as you can and test: | ||
|
||
npm run update-dependencies | ||
npm test | ||
|
||
If the tests fail, update your code to be compatible with the new libraries, or | ||
revert the library upgrades that break the build. | ||
|
||
* Add missing entries to `CHANGELOG.md` | ||
* Ideally the CHANGELOG should be up-to-date, but sometimes there will be accidental omissions when merging PRs. Missing PRs should be added. | ||
* Describe the major changes introduced. API changes must be documented. In particular, backward-incompatible changes must be well explained, with examples when possible. | ||
* `git log --format=format:"* %s (%an)" --reverse <last-version-tag>..HEAD` might be handy. | ||
* Update the contributors list in `package.json` | ||
* `git log --format=format:"%an <%ae>" --reverse <last-version-tag>..HEAD | grep -vEi "(renovate|dependabot|Snyk)" | sort| uniq -i` | ||
* Manually add contributors (in alphabetical order) | ||
|
||
Follow [cucumber/.github/RELEASING.md](https://github.com/cucumber/.github/blob/main/RELEASING.md) | ||
for the rest of the release process. |