fix(ci): pass version via env, use cat heredoc for changelog
This commit is contained in:
parent
5395a2a022
commit
4cf417884f
1 changed files with 10 additions and 2 deletions
|
|
@ -49,10 +49,18 @@ jobs:
|
|||
|
||||
- name: Update debian changelog
|
||||
working-directory: /workspace/repo
|
||||
env:
|
||||
VERSION: ${{ steps.version.outputs.version }}
|
||||
GIT_SHA: ${{ github.sha }}
|
||||
run: |
|
||||
VERSION=${{ steps.version.outputs.version }}
|
||||
DATE=$(date -R)
|
||||
printf '%s\n' "full-updater (${VERSION}) unstable; urgency=medium" "" " * Auto-built release from commit ${GITHUB_SHA}" "" " -- Forgejo CI <ci@geronzi.fr> ${DATE}" > debian/changelog
|
||||
cat > debian/changelog << 'CHANGELOG'
|
||||
full-updater (${VERSION}) unstable; urgency=medium
|
||||
|
||||
* Auto-built release from commit ${GIT_SHA}
|
||||
|
||||
-- Forgejo CI <ci@geronzi.fr> ${DATE}
|
||||
CHANGELOG
|
||||
|
||||
- name: Install build dependencies
|
||||
working-directory: /workspace/repo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue