26 lines
754 B
Markdown
26 lines
754 B
Markdown
# Release Instructions
|
|
|
|
Follow the steps below to tag a new release for the `actions/attest` action.
|
|
|
|
1. Update the `version` field in package.json.
|
|
1. Merge the latest changes to the `main` branch.
|
|
1. Create a new release using a tag of the form `vX.X.X` following SemVer
|
|
conventions:
|
|
|
|
```shell
|
|
gh release create vX.X.X
|
|
```
|
|
|
|
1. Move (or create) the major version tag to point to the same commit tagged
|
|
above:
|
|
|
|
```shell
|
|
git tag -fa vX -m "vX"
|
|
git push origin vX --force
|
|
```
|
|
|
|
1. As appropriate, update any actions like
|
|
[`actions/attest-build-provenance`](https://github.com/actions/attest-build-provenance)
|
|
and [`actions/attest-sbom`](https://github.com/actions/attest-sbom) which
|
|
have a dependency on `actions/attest`
|