Upload Changelog draft YAMLs to GitHub Release assets
@@ -22,3 +22,13 @@ jobs:
uses: jenkinsci/jenkins-core-changelog-generator@master
env:
GITHUB_AUTH: github-actions:${{ secrets.GITHUB_TOKEN }}
+ # TODO(oleg-nenashev): Use te draft generated by Release Drafter, not a fixed release
+ # https://github.com/jenkinsci/jenkins/releases/tag/untagged-e3a154d27f5bd99802eb
+ - name: Upload changelog YAML to the release draft (untagged-e3a154d27f5bd99802eb)
+ uses: svenstaro/upload-release-action@v1-release
+ with:
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
+ file: changelog.yaml
+ asset_name: changelog.yaml
+ tag: untagged-e3a154d27f5bd99802eb
+ overwrite: true
