mirror of
https://github.com/jimeh/release-please-manifest-action.git
synced 2026-02-19 09:06:42 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4205a83fff | ||
|
e012dc88b9
|
|||
|
|
1255f9741b | ||
|
77312c11a9
|
2
.github/release-please-manifest.json
vendored
2
.github/release-please-manifest.json
vendored
@@ -1,3 +1,3 @@
|
||||
{
|
||||
".": "0.0.3"
|
||||
".": "0.0.5"
|
||||
}
|
||||
|
||||
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
@@ -14,23 +14,17 @@ jobs:
|
||||
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: 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://${GITHUB_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 v${{ steps.release.outputs.version }}"
|
||||
git tag -a "$MINOR_TAG" -m "Release v${{ steps.release.outputs.version }}"
|
||||
git push origin "$MAJOR_TAG"
|
||||
git push origin "$MINOR_TAG"
|
||||
uses: richardsimko/update-tag@v1
|
||||
with:
|
||||
tag_name: v${{ steps.release.outputs.major }}
|
||||
env:
|
||||
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 }}
|
||||
MAJOR_TAG: v${{ steps.release.outputs.major }}
|
||||
MINOR_TAG: v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}
|
||||
|
||||
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,5 +1,19 @@
|
||||
# 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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user