From c036a77d37d3d447046a158dbc2a7c5582ece37a Mon Sep 17 00:00:00 2001 From: Zbynek Roubalik <726523+zroubalik@users.noreply.github.com> Date: Thu, 5 Nov 2020 15:59:47 +0100 Subject: [PATCH] fix version for release builds (#208) Signed-off-by: Zbynek Roubalik --- .github/workflows/ci.yaml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b28b4cf4e..20e228cd4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,11 +9,21 @@ jobs: build-and-publish: runs-on: ubuntu-latest steps: - # Standard build tasks + # Checkout and test - uses: actions/checkout@v2 - uses: actions/setup-go@v2 - name: Test run: make test + + # Create a release, or update the release PR + - uses: GoogleCloudPlatform/release-please-action@v2.5.5 + id: release + with: + token: ${{ secrets.GITHUB_TOKEN }} + release-type: simple + bump-minor-pre-major: true + + # Standard build tasks - name: Build run: make cross-platform - name: Lint @@ -46,14 +56,6 @@ jobs: docker login -u "$USER" -p "$PASS" quay.io make push && make latest - # Create a release, or update the release PR - - uses: GoogleCloudPlatform/release-please-action@v2.5.5 - id: release - with: - token: ${{ secrets.GITHUB_TOKEN }} - release-type: simple - bump-minor-pre-major: true - # The following steps are only executed if this is a release - name: Compress Binaries if: ${{ steps.release.outputs.release_created }}