Skip to content

Commit dc62445

Browse files
Merge pull request #48 from thomas-fossati/refine-ci
merge CDDL publishing job
2 parents 8d15719 + 04a26ad commit dc62445

File tree

3 files changed

+27
-28
lines changed

3 files changed

+27
-28
lines changed

.github/workflows/makefile.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@ jobs:
1616
run: echo "$(gem env gempath | cut -d':' -f1)/bin" >> $GITHUB_PATH
1717
- name: assemble and test
1818
run: make check
19+
- name: publish CDDL
20+
if: startsWith(github.ref, 'refs/tags/cddl-')
21+
uses: softprops/action-gh-release@v2
22+
with:
23+
token: ${{ secrets.GITHUB_TOKEN }}
24+
files: |
25+
./*-autogen.cddl

.github/workflows/release-cddl.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
11
# concise-evidence [![CI](https://github.com/TrustedComputingGroup/concise-evidence/actions/workflows/makefile.yml/badge.svg)](https://github.com/TrustedComputingGroup/concise-evidence/actions/workflows/makefile.yml)
22

33
CDDL definition of concise-evidence as defined by TCG DICE Working Group
4+
5+
## Publishing CDDL Artefacts
6+
7+
* create an annotated tag that start with `cddl-` and is followed by the version information. E.g.:
8+
9+
```sh
10+
git tag -d cddl-v1.0rev0.54
11+
```
12+
13+
* push the tag
14+
15+
```sh
16+
git push origin cddl-v1.0rev0.54
17+
```
18+
19+
The produced artefacts can be downloaded from the release page:
20+
21+
```sh
22+
https://github.com/TrustedComputingGroup/concise-evidence/releases/download/cddl-v1.0rev0.54
23+
```

0 commit comments

Comments
 (0)