Skip to content

Commit 35b629e

Browse files
committed
Add build provenance visibility to releases
- Rename release zip to *-bin.zip to distinguish from GitHub's auto-generated source zip - Add provenance verification instructions to release notes body - Add attestation badge to README
1 parent 60d5d14 commit 35b629e

3 files changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,13 @@ jobs:
3333
uses: softprops/action-gh-release@v2
3434
with:
3535
files: bin/*.zip
36+
body: |
37+
## Verify provenance
38+
39+
The release zip is built and signed via GitHub Actions. Verify with the [GitHub CLI](https://cli.github.com/):
40+
41+
```
42+
gh attestation verify <XrmTypeScript-vX.X.X-bin.zip> --repo Mosh-K/XrmTypeScript
43+
```
44+
45+
[View attestations](https://github.com/Mosh-K/XrmTypeScript/attestations)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![CI](https://github.com/Mosh-K/XrmTypeScript/actions/workflows/ci.yml/badge.svg)](https://github.com/Mosh-K/XrmTypeScript/actions/workflows/ci.yml)
44
[![Release](https://img.shields.io/github/v/release/Mosh-K/XrmTypeScript)](https://github.com/Mosh-K/XrmTypeScript/releases/latest)
5+
[![Attestation](https://img.shields.io/badge/build-attested-brightgreen?logo=github)](https://github.com/Mosh-K/XrmTypeScript/attestations)
56

67
XrmTypeScript generates TypeScript declaration files from your Dynamics 365 / Power Apps solution,
78
giving you full intellisense and compile-time type safety for form scripting and Web API development.

build.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ let runXts () =
9494
let zip tag =
9595
let buildOutDir = "src/bin/Release/net462"
9696
let stageDir = "temp/zipstage"
97-
let zipPath = $"bin/XrmTypeScript-{tag}.zip"
97+
let zipPath = $"bin/XrmTypeScript-{tag}-bin.zip"
9898

9999
cleanDir stageDir
100100

0 commit comments

Comments
 (0)