Update release notes and set release tag
This commit is contained in:
parent
becdfcbce6
commit
694cbf23f5
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
|
@ -41,9 +41,11 @@ jobs:
|
||||||
|
|
||||||
- name: Prepare Release Notes
|
- name: Prepare Release Notes
|
||||||
run: |
|
run: |
|
||||||
echo "This image was prepared with the following channel configuration:\n\n```\n" > release-notes.md
|
export RELEASE_TAG=$(date +"%Y%m%d%H%M")
|
||||||
|
echo "RELEASE_TAG=$RELEASE_TAG" >> $GITHUB_ENV
|
||||||
|
echo "# Guix Installer v$RELEASE_TAG\r\nThis image was prepared with the following channel configuration:\r\n\r\n\`\`\`\r\n" > release-notes.md
|
||||||
guix describe -f channels >> release-notes.md
|
guix describe -f channels >> release-notes.md
|
||||||
echo "\n```" >> release-notes.md
|
echo "\r\n\`\`\`" >> release-notes.md
|
||||||
|
|
||||||
# - uses: actions/upload-artifact@v2
|
# - uses: actions/upload-artifact@v2
|
||||||
# with:
|
# with:
|
||||||
|
@ -54,6 +56,7 @@ jobs:
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
body_path: release-notes.md
|
body_path: release-notes.md
|
||||||
|
tag: ${{ env.RELEASE_TAG }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITHUB_REPOSITORY: SystemCrafters/guix-installer
|
GITHUB_REPOSITORY: SystemCrafters/guix-installer
|
||||||
|
|
Loading…
Reference in a new issue