Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,30 @@ jobs:
SKIP_TESTS=1 make dist
# Generate changelog
awk '{f=1} f{ if (/^## / && i++>=1) exit; else print $0}' CHANGELOG.md | tee CHANGELOG-for-version.md
# Move release artifacts for signing
mkdir -p dist/gh-release
mv dist/yorc-*.tgz dist/yorc-server*-distrib.zip dist/gh-release/

- uses: tristan-weil/ghaction-checksum-sign-artifact@v1
with:
path: 'dist/gh-release/*'
sign_key: '${{ secrets.YSTIA_BOT_SIGN_KEY }}'
sign_key_passphrase: '${{ secrets.YSTIA_BOT_SIGN_KEY_PASSPHRASE }}'
sign_key_fingerprint: 'CEC021997E92CADB298EFC8AFA71C23B880E40F9'
sign_keyserver: 'keys.openpgp.org'

- name: Create or Update Github Release draft
id: update_release
uses: loicalbertin/action-gh-release@080e2e752ac77817dcfd2e8809873bdc24817584
# Wait for a released version containg https://github.com/softprops/action-gh-release/pull/60
uses: softprops/action-gh-release@9729932bfb75c05ad1f6e3a729294e05abaa7001
with:
tag_name: ${{ env.TAG_NAME }}
body_path: CHANGELOG-for-version.md
name: ${{ env.TAG_NAME }}
prerelease: ${{ env.PRERELEASE }}
draft: true
files: |
dist/yorc-*.tgz
dist/yorc-server*-distrib.zip
dist/gh-release/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
* Error submitting a SLURM job with no execution option ([GH-739](https://github.com/ystia/yorc/issues/739))
* Workflow with asynchronous action never stops after another step failure ([GH-733](https://github.com/ystia/yorc/issues/733))

### ENGINEERING

* Generate a checksum file for release artifacts and sign it ([GH-755](https://github.com/ystia/yorc/issues/755))

## 4.2.0-milestone.1 (May 06, 2021)

### ENHANCEMENTS
Expand Down