14 Commits
v0.1 ... v1

Author SHA1 Message Date
jimehbot[bot]
094ab0890e chore(main): release 1.0.3 (#19)
Co-authored-by: jimehbot[bot] <132453784+jimehbot[bot]@users.noreply.github.com>
2024-05-13 10:07:10 +01:00
72e49f5d6f fix(deps): use new name for Google's release please action (#18) 2024-05-13 10:06:22 +01:00
jimehbot[bot]
9e6111fa06 chore(main): release 1.0.2 (#16)
Co-authored-by: jimehbot[bot] <132453784+jimehbot[bot]@users.noreply.github.com>
2023-05-19 00:48:19 +01:00
f307f175b9 fix(action): correct minor typo in action metadata (#14) 2023-05-19 00:47:10 +01:00
09a0ac2e59 ci(release): run release-please through a GitHub App (#15) 2023-05-19 00:45:29 +01:00
b2f2b18196 Merge pull request #13 from jimeh/tweak-ci 2023-05-19 00:31:52 +01:00
5ce2d33d70 ci(docs): add job to verify generated docs in readme are up to date 2023-05-19 00:30:08 +01:00
59ebc8ab5c ci(release): switch to stable v1 of self 2023-05-19 00:23:18 +01:00
42fbbf7a6f ci(release): switch to jimeh/update-tags-actions to move major/minor tags 2023-05-19 00:22:38 +01:00
github-actions[bot]
ffac38c285 chore(main): release 1.0.1 (#11) 2023-05-08 02:22:07 +01:00
023c0d0dc3 chore(release): remove "release-as" option (#12) 2023-05-08 02:21:09 +01:00
322dcdf56e fix(action): set correct action name in action.yml metadata (#10) 2023-05-08 02:18:34 +01:00
github-actions[bot]
38d93f4a8a chore(main): release 1.0.0 (#9) 2023-05-08 02:06:18 +01:00
22f0022a09 feat(release): prepare for v1.0.0 2023-05-08 01:58:29 +01:00
8 changed files with 80 additions and 40 deletions

View File

@@ -1,3 +1,3 @@
{
".": "0.1.1"
".": "1.0.3"
}

View File

@@ -9,8 +9,7 @@
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"draft": false,
"prerelease": false,
"initial-version": "0.0.1"
"prerelease": false
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"

34
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
---
name: Release
on: push
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: make docs
- name: Verify no changes after docs build
run: |
git diff --exit-code
release-please:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
# TOOD: Switch back to @v1 once once v1.0.3 is released.
- uses: jimeh/release-please-manifest-action@main
id: release
with:
app-id: ${{ secrets.RELEASE_BOT_APP_ID }}
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
- name: MAJOR and MAJOR.MINOR tags
if: ${{ steps.release.outputs.release_created }}
uses: jimeh/update-tags-action@v1
with:
tags: |
v${{ steps.release.outputs.major }}
v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}

View File

@@ -1,27 +0,0 @@
---
name: Release
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: jimeh/release-please-manifest-action@main
id: release
- name: Create/update MAJOR tag
if: ${{ steps.release.outputs.release_created }}
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 }}

View File

@@ -1,5 +1,33 @@
# Changelog
## [1.0.3](https://github.com/jimeh/release-please-manifest-action/compare/v1.0.2...v1.0.3) (2024-05-13)
### Bug Fixes
* **deps:** use new name for Google's release please action ([#18](https://github.com/jimeh/release-please-manifest-action/issues/18)) ([72e49f5](https://github.com/jimeh/release-please-manifest-action/commit/72e49f5d6f009b0e0c4faff0c835703ee9ee3093))
## [1.0.2](https://github.com/jimeh/release-please-manifest-action/compare/v1.0.1...v1.0.2) (2023-05-18)
### Bug Fixes
* **action:** correct minor typo in action metadata ([#14](https://github.com/jimeh/release-please-manifest-action/issues/14)) ([f307f17](https://github.com/jimeh/release-please-manifest-action/commit/f307f175b93d8eb1a1a4dfaf9092efaba72a6d62))
## [1.0.1](https://github.com/jimeh/release-please-manifest-action/compare/v1.0.0...v1.0.1) (2023-05-08)
### Bug Fixes
* **action:** set correct action name in action.yml metadata ([#10](https://github.com/jimeh/release-please-manifest-action/issues/10)) ([322dcdf](https://github.com/jimeh/release-please-manifest-action/commit/322dcdf56ed8be4589ffbd70cb1382198ca65120))
## [1.0.0](https://github.com/jimeh/release-please-manifest-action/compare/v0.1.1...v1.0.0) (2023-05-08)
### Features
* **release:** prepare for v1.0.0 ([22f0022](https://github.com/jimeh/release-please-manifest-action/commit/22f0022a0932f5639bb4808df16e76c245256880))
## [0.1.1](https://github.com/jimeh/release-please-manifest-action/compare/v0.1.0...v0.1.1) (2023-05-08)

View File

@@ -1,3 +1,10 @@
.PHONY: docs
docs: readme
.PHONY: readme
readme: check-npx action-docs
npx --yes prettier --print-width 80 --prose-wrap always --write README.md
.PHONY: action-docs
action-docs: check-npx
npx --yes action-docs --update-readme

View File

@@ -73,7 +73,7 @@ jobs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: jimeh/release-please-manifest-action@v0
- uses: jimeh/release-please-manifest-action@v1
```
<!-- x-release-please-end -->
@@ -119,7 +119,7 @@ jobs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: jimeh/release-please-manifest-action@v0
- uses: jimeh/release-please-manifest-action@v1
with:
token: ${{ secrets.RELEASE_PAT_TOKEN }}
```
@@ -179,7 +179,7 @@ jobs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: jimeh/release-please-manifest-action@v0
- uses: jimeh/release-please-manifest-action@v1
with:
app-id: ${{ secrets.RELEASE_BOT_APP_ID }}
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
@@ -247,7 +247,7 @@ _Note: Outputs are not included in this equivalence example._
| id | Release ID. |
| name | Release name. |
| tag_name | Release tag name. |
| sha | Release sha |
| sha | Release SHA. |
| body | Release body. |
| html_url | Release URL. |
| draft | Whether or not the release is a draft. |

View File

@@ -1,5 +1,5 @@
---
name: "release-please-action"
name: "release-please-manifest-action"
description: >-
Opinionated action for running release-please in manifest mode with optional
support to authenticate as a GitHub App.
@@ -7,8 +7,7 @@ author: "jimeh"
inputs:
token:
description: >-
GitHub token used to authenticate.
description: "GitHub token used to authenticate."
required: false
default: ${{ github.token }}
app-id:
@@ -71,7 +70,7 @@ outputs:
description: "Release tag name."
value: ${{ steps.release-please.outputs.tag_name }}
sha:
description: "Release sha"
description: "Release SHA."
value: ${{ steps.release-please.outputs.sha }}
body:
description: "Release body."
@@ -126,7 +125,7 @@ runs:
permissions: ${{ inputs.permissions }}
private_key: ${{ inputs.private-key }}
repository: ${{ github.repository }}
- name: Determine which token to use
- name: resolve token
id: token
run: |-
echo "token=${APP_TOKEN:-$INPUT_TOKEN}" >> "$GITHUB_OUTPUT"
@@ -134,7 +133,7 @@ runs:
APP_TOKEN: "${{ steps.github-app-token.outputs.token }}"
INPUT_TOKEN: "${{ inputs.token }}"
shell: bash
- uses: google-github-actions/release-please-action@v3
- uses: googleapis/release-please-action@v3
id: release-please
with:
command: manifest