Skip to content

Commit

Permalink
Merge pull request #602 from replicatedhq/divolgin/github
Browse files Browse the repository at this point in the history
correct release tags on minio and api
  • Loading branch information
divolgin committed May 28, 2020
2 parents 47e2e10 + 2394ee5 commit 20d0073
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/kotsadm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ jobs:
AUTO_CREATE_CLUSTER_TOKEN: this-is-a-test-value
run: make -C kotsadm/api no-yarn deps build

- name: Upload Go API build artifact
- name: Upload TypeScript API build artifact
uses: actions/upload-artifact@v2
with:
name: typescript_api_build
Expand Down Expand Up @@ -433,10 +433,16 @@ jobs:
with:
node-version: '10'

- name: Get the version
if: startsWith(github.ref, 'refs/tags/')
id: get_tag
shell: bash
run: echo ::set-output name=GIT_TAG::${GITHUB_REF/refs\/tags\//}

- name: Build tagged release
if: ${{ steps.get_tag.outputs.GIT_TAG != '' }}
env:
GIT_COMMIT: ${{ github.sha }}
GIT_TAG: ${{ steps.get_tag.outputs.GIT_TAG }}
run: |
make -C kotsadm/api build-release
Expand Down Expand Up @@ -622,4 +628,4 @@ jobs:
env:
GIT_TAG: ${{ steps.get_tag.outputs.GIT_TAG }}
run: |
make -C kotsadm/minio publish-latest
make -C kotsadm/minio publish-release

0 comments on commit 20d0073

Please sign in to comment.