9 Commits

Author SHA1 Message Date
jimehbot[bot]
4205a83fff chore(main): release 0.0.5 (#5) 2023-05-08 00:47:43 +01:00
e012dc88b9 fix(release): actually tag MAJOR 2023-05-08 00:44:56 +01:00
jimehbot[bot]
1255f9741b chore(main): release 0.0.4 (#4)
Co-authored-by: jimehbot[bot] <132453784+jimehbot[bot]@users.noreply.github.com>
2023-05-08 00:41:55 +01:00
77312c11a9 fix(release): attempt to sign major and minor tags 2023-05-08 00:38:46 +01:00
jimehbot[bot]
ccc95c2796 chore(main): release 0.0.3 (#3) 2023-05-07 22:49:49 +01:00
08e227b305 fix(release): use full version in tag annotations 2023-05-07 22:39:31 +01:00
ce1e3289db Merge pull request #2 from jimeh/release-please--branches--main 2023-05-07 22:31:44 +01:00
jimehbot[bot]
16c6b2e235 chore(main): release 0.0.2 2023-05-07 21:31:22 +00:00
b93407b78f fix(release): create major and minor version tags
This should hopefully fix the 403 errors we got previously.
2023-05-07 22:30:55 +01:00
3 changed files with 42 additions and 25 deletions

View File

@@ -1,3 +1,3 @@
{
".": "0.0.1"
".": "0.0.5"
}

View File

@@ -6,36 +6,25 @@ jobs:
release-please:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
permissions:
contents: write
steps:
- uses: jimeh/release-please-manifest-action@main
id: release
with:
app-id: ${{ secrets.RELEASE_BOT_APP_ID }}
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
- uses: actions/checkout@v3
- name: Create/update MAJOR tag
if: ${{ steps.release.outputs.release_created }}
- name: Get GitHub App token
if: ${{ steps.release.outputs.release_created }}
uses: tibdex/github-app-token@v1
id: github-app-token
uses: richardsimko/update-tag@v1
with:
app_id: ${{ secrets.RELEASE_BOT_APP_ID }}
private_key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
- name: Tag major and minor versions
if: ${{ steps.release.outputs.release_created }}
run: |
git config user.name 'jimehbot[bot]'
git config user.email '132453784+jimehbot[bot]@users.noreply.github.com'
git remote add gh-token "https://${APP_TOKEN}@github.com/${{ github.repository }}.git"
git tag -d "$MAJOR_TAG" || true
git tag -d "$MINOR_TAG" || true
git push origin ":${MAJOR_TAG}" || true
git push origin ":${MINOR_TAG}" || true
git tag -a "$MAJOR_TAG" -m "Release ${MAJOR_TAG}"
git tag -a "$MINOR_TAG" -m "Release ${MINOR_TAG}"
git push origin "$MAJOR_TAG"
git push origin "$MINOR_TAG"
tag_name: v${{ steps.release.outputs.major }}
env:
APP_TOKEN: ${{ steps.github-app-token.outputs.token }}
MAJOR_TAG: v${{ steps.release.outputs.major }}
MINOR_TAG: v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create/update MAJOR.MINOR tag
if: ${{ steps.release.outputs.release_created }}
uses: richardsimko/update-tag@v1
with:
tag_name: v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,5 +1,33 @@
# Changelog
## [0.0.5](https://github.com/jimeh/release-please-manifest-action/compare/v0.0.4...v0.0.5) (2023-05-07)
### Bug Fixes
* **release:** actually tag MAJOR ([e012dc8](https://github.com/jimeh/release-please-manifest-action/commit/e012dc88b94fb4ce8433076d45479ee4d0ed01b2))
## [0.0.4](https://github.com/jimeh/release-please-manifest-action/compare/v0.0.3...v0.0.4) (2023-05-07)
### Bug Fixes
* **release:** attempt to sign major and minor tags ([77312c1](https://github.com/jimeh/release-please-manifest-action/commit/77312c11a926651d7f66d4fed3dcd5d0b50727ae))
## [0.0.3](https://github.com/jimeh/release-please-manifest-action/compare/v0.0.2...v0.0.3) (2023-05-07)
### Bug Fixes
* **release:** use full version in tag annotations ([08e227b](https://github.com/jimeh/release-please-manifest-action/commit/08e227b3057a732f0947407b8657123e5418e77c))
## [0.0.2](https://github.com/jimeh/release-please-manifest-action/compare/v0.0.1...v0.0.2) (2023-05-07)
### Bug Fixes
* **release:** create major and minor version tags ([b93407b](https://github.com/jimeh/release-please-manifest-action/commit/b93407b78f3b3f59c67aed1dd64b196fb180a591))
## 0.0.1 (2023-05-07)