Skip to content

Commit

Permalink
switched to new @lando/prepare-release-action
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Jun 18, 2023
1 parent 52e92a7 commit 478cada
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 549 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release

on:
release:
types:
- published

jobs:
release:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Prepare release
uses: lando/prepare-release-action@v2
with:
sync-tags: v2
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v2.2.2 - [June 17, 2023](https://github.com/lando/pkg-action/releases/tag/v2.2.2)

* Switched release flow over to [@lando/prepare-release-action](https://github.com/lando/prepare-release-action)

## v2.2.1 - [April 27, 2023](https://github.com/lando/pkg-action/releases/tag/v2.2.1)

* Switched `set-output` and `save-state` to new `$GITHUB_OUTPUT` and `$GITHUB_STATE`. See [this](https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/)
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,7 @@ We try to log all changes big and small in both [THE CHANGELOG](https://github.c
## Releasing
1. Correctly bump versions, tag things and push to github
```bash
yarn release
```

2. Publish to [GitHub Actions Marketplace](https://docs.github.com/en/enterprise-cloud@latest/actions/creating-actions/publishing-actions-in-github-marketplace)
Create a release and publish to [GitHub Actions Marketplace](https://docs.github.com/en/enterprise-cloud@latest/actions/creating-actions/publishing-actions-in-github-marketplace). Note that the release tag must be a [semantic version](https://semver.org/).
## Contributors
Expand Down
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@
"Github Actions"
],
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"version-bump-prompt": "^6.1.0"
},
"scripts": {
"release": "bump --tag --all --push package.json && git tag --force --annotate --message 'moving v2 tag' v2 && git push origin v2 --force"
"node": ">=16.0.0"
}
}
Loading

0 comments on commit 478cada

Please sign in to comment.