From edfece2985e8ba6d908aacb2935a6e7eb4441d22 Mon Sep 17 00:00:00 2001 From: mr-pmillz <> Date: Tue, 3 Sep 2024 19:42:59 -0400 Subject: [PATCH] update cicd changelog for goreleaser --- .github/workflows/ci.yml | 11 ++++++++--- .gitignore | 6 ++++++ coverage/.gitkeep | 0 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 coverage/.gitkeep diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a5ca4e..234d8da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,11 +81,16 @@ jobs: OUTPUT: RELEASE_CHANGELOG.md GITHUB_REPO: ${{ github.repository }} + - name: copy release changelog + run: | + mkdir -p release_notes + cat RELEASE_CHANGELOG.md > release_notes/RELEASE_CHANGELOG.md + - name: upload release changelog uses: actions/upload-artifact@master with: name: release-changelog - path: RELEASE_CHANGELOG.md + path: release_notes # ================ # RELEASE JOB @@ -117,7 +122,7 @@ jobs: uses: actions/download-artifact@master with: name: release-changelog - path: RELEASE_CHANGELOG.md + path: release_notes - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 @@ -125,7 +130,7 @@ jobs: with: distribution: goreleaser version: latest - args: release --clean --release-notes RELEASE_CHANGELOG.md + args: release --clean --release-notes release_notes/RELEASE_CHANGELOG.md env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index db34c1b..bdf6784 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,9 @@ *.csv eoldate RELEASE_CHANGELOG.md +release_notes +release_notes/ +release_notes/* +coverage +coverage/ +coverage/* \ No newline at end of file diff --git a/coverage/.gitkeep b/coverage/.gitkeep new file mode 100644 index 0000000..e69de29