Skip to content

Commit

Permalink
relnotes
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Jul 1, 2024
1 parent 86951b9 commit 01a4211
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ permissions:
checks: write

jobs:
check_release_notes:
name: "Check Release Notes"
release_notes:
name: "Release Notes"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -25,11 +25,21 @@ jobs:
- name: "Check Release Notes"
run: |
set -ex
# python scripts/extract-release-notes.py --target-git-version
python scripts/extract-release-notes.py --target-git-version
shell: bash
- name: "Produce Release Notes"
run: |
set -ex
set -o pipefail
python3.8 ./scripts/extract-release-notes.py --target-git-version --append-mcr-images --describe-path-changes "./samples/constitution" | tee rel-notes.md
- name: "Upload .deb Package"
uses: actions/upload-artifact@v4
with:
name: relnotes
path: rel-notes.md

build_release:
needs: check_release_notes
needs: release_notes
name: Release
strategy:
matrix:
Expand Down Expand Up @@ -91,10 +101,16 @@ jobs:
needs: build_release
runs-on: ubuntu-latest
steps:
- name: Download All Artifacts
- name: Download Packages
uses: actions/download-artifact@v4
with:
path: pkg
pattern: pkg-*
merge-multiple: true
- run: ls -R pkg
- name: Download Release notes
uses: actions/download-artifact@v4
with:
name: relnotes
- run: |
ls
ls -R pkg
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.0.2]
## [0.0.7]

[0.0.2]: https://github.com/microsoft/CCF/releases/tag/ccf-0.0.2
[0.0.7]: https://github.com/microsoft/CCF/releases/tag/ccf-0.0.7

## [5.0.0-rc0]

Expand Down

0 comments on commit 01a4211

Please sign in to comment.