From 150c6f06a436a349ce24e34f99666cde73e57393 Mon Sep 17 00:00:00 2001 From: Alex Kalyvitis Date: Tue, 10 Dec 2019 13:33:25 +0100 Subject: [PATCH] improvments to release --- .github/workflows/build.yml | 5 ++++- .github/workflows/release.yml | 10 +++++++++- CHANGELOG.md | 2 ++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34b7eb0a..a4554e98 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,8 @@ name: Build -on: [push] +on: + push: + branches: ['*'] + jobs: build: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9e3e3891..0d77daa2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,4 +13,12 @@ jobs: id: get_version - name: Go release - run: bash scripts/release.sh ${{ steps.get_version.outputs.VERSION }} \ No newline at end of file + run: ./scripts/release.sh ${{ steps.get_version.outputs.VERSION }} + + # - name: Go release + # uses: goreleaser/goreleaser-action@v1 + # with: + # version: ${{ steps.get_version.outputs.VERSION }} + # args: --skip-validate --release-notes="${TMPDIR}/release-notes.md" + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 606b5c73..5a94d866 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ + + ## v0.2.2 (December 10, 2019) ENHANCEMENTS: