mirror of
https://github.com/jimeh/release-please-manifest-action.git
synced 2026-02-19 09:06:42 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ce1e3289db | |||
|
|
16c6b2e235 | ||
|
b93407b78f
|
2
.github/release-please-manifest.json
vendored
2
.github/release-please-manifest.json
vendored
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
".": "0.0.1"
|
".": "0.0.2"
|
||||||
}
|
}
|
||||||
|
|||||||
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -6,6 +6,8 @@ jobs:
|
|||||||
release-please:
|
release-please:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: jimeh/release-please-manifest-action@main
|
- uses: jimeh/release-please-manifest-action@main
|
||||||
id: release
|
id: release
|
||||||
@@ -14,19 +16,12 @@ jobs:
|
|||||||
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
|
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
if: ${{ steps.release.outputs.release_created }}
|
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
|
|
||||||
with:
|
|
||||||
app_id: ${{ secrets.RELEASE_BOT_APP_ID }}
|
|
||||||
private_key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
|
|
||||||
- name: Tag major and minor versions
|
- name: Tag major and minor versions
|
||||||
if: ${{ steps.release.outputs.release_created }}
|
if: ${{ steps.release.outputs.release_created }}
|
||||||
run: |
|
run: |
|
||||||
git config user.name 'jimehbot[bot]'
|
git config user.name 'jimehbot[bot]'
|
||||||
git config user.email '132453784+jimehbot[bot]@users.noreply.github.com'
|
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 remote add gh-token "https://${GITHUB_TOKEN}@github.com/${{ github.repository }}.git"
|
||||||
git tag -d "$MAJOR_TAG" || true
|
git tag -d "$MAJOR_TAG" || true
|
||||||
git tag -d "$MINOR_TAG" || true
|
git tag -d "$MINOR_TAG" || true
|
||||||
git push origin ":${MAJOR_TAG}" || true
|
git push origin ":${MAJOR_TAG}" || true
|
||||||
@@ -36,6 +31,6 @@ jobs:
|
|||||||
git push origin "$MAJOR_TAG"
|
git push origin "$MAJOR_TAG"
|
||||||
git push origin "$MINOR_TAG"
|
git push origin "$MINOR_TAG"
|
||||||
env:
|
env:
|
||||||
APP_TOKEN: ${{ steps.github-app-token.outputs.token }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
|
||||||
MAJOR_TAG: v${{ steps.release.outputs.major }}
|
MAJOR_TAG: v${{ steps.release.outputs.major }}
|
||||||
MINOR_TAG: v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}
|
MINOR_TAG: v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [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)
|
## 0.0.1 (2023-05-07)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user