mirror of https://github.com/knative/func.git
fix version for release builds (#208)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
This commit is contained in:
parent
29ca07768c
commit
c036a77d37
|
|
@ -9,11 +9,21 @@ jobs:
|
||||||
build-and-publish:
|
build-and-publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# Standard build tasks
|
# Checkout and test
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
- name: Test
|
- name: Test
|
||||||
run: make 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
|
- name: Build
|
||||||
run: make cross-platform
|
run: make cross-platform
|
||||||
- name: Lint
|
- name: Lint
|
||||||
|
|
@ -46,14 +56,6 @@ jobs:
|
||||||
docker login -u "$USER" -p "$PASS" quay.io
|
docker login -u "$USER" -p "$PASS" quay.io
|
||||||
make push && make latest
|
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
|
# The following steps are only executed if this is a release
|
||||||
- name: Compress Binaries
|
- name: Compress Binaries
|
||||||
if: ${{ steps.release.outputs.release_created }}
|
if: ${{ steps.release.outputs.release_created }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue