Skip to content

Commit

Permalink
Prepare 1.1.0 with attestation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Jul 2, 2024
1 parent e83ddc9 commit dd68b86
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ jobs:
# non-deprecated ARM Mac runner.
os: [ ubuntu-22.04, macos-12, macos-14, windows-2022 ]
environment: Release
permissions:
id-token: write
attestations: write
contents: write
discussions: write
steps:
- name: Checkout ptex ${{ needs.determine-tag.outputs.release-tag }}
uses: actions/checkout@v4
Expand All @@ -66,6 +71,10 @@ jobs:
-w /code \
rust:1.79.0-alpine3.20 \
sh -c 'apk add cmake make musl-dev perl && cargo run -p package -- dist'
- name: Generate ptex ${{ needs.determine-tag.outputs.release-tag }} artifact attestations
uses: actions/attest-build-provenance@v1
with:
subject-path: dist/ptex*
- name: Prepare Changelog
id: prepare-changelog
uses: a-scie/actions/[email protected]
Expand All @@ -74,10 +83,7 @@ jobs:
version: ${{ needs.determine-tag.outputs.release-version }}
setup-python: ${{ matrix.os != 'macos-13-aarch64' }}
- name: Create ${{ needs.determine-tag.outputs.release-tag }} Release
# Upgrades node16 -> node20: in main but not tagged yet.
uses: softprops/action-gh-release@4634c16e79c963813287e889244c50009e7f0981
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ needs.determine-tag.outputs.release-tag }}
name: ptex ${{ needs.determine-tag.outputs.release-version }}
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes

## 1.1.0

This release updates various dependencies as well as upgrading to Rust
1.79.0. In addition, this is the first release to include artifact
attestations in Sigstore.

## 1.0.0

This release updates various dependencies as well as upgrading to Rust
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ members = [

[package]
name = "ptex"
version = "1.0.0"
version = "1.1.0"
edition = "2021"
authors = [
"John Sirois <[email protected]>",
Expand Down

0 comments on commit dd68b86

Please sign in to comment.