mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-21 22:08:59 +00:00
.
This commit is contained in:
parent
7fb85df3ac
commit
eb67f76e2b
15
.github/workflows/publish.yml
vendored
15
.github/workflows/publish.yml
vendored
@ -66,14 +66,6 @@ jobs:
|
|||||||
COMMIT_HASH=${{ github.sha }}
|
COMMIT_HASH=${{ github.sha }}
|
||||||
- name: Build and Push CLI
|
- name: Build and Push CLI
|
||||||
run: make push-cli SEM_VER='${{ steps.versioning.outputs.version }}' BUILD_TIMESTAMP='${{ steps.version_parameters.outputs.build_timestamp }}'
|
run: make push-cli SEM_VER='${{ steps.versioning.outputs.version }}' BUILD_TIMESTAMP='${{ steps.version_parameters.outputs.build_timestamp }}'
|
||||||
- shell: bash
|
|
||||||
run: |
|
|
||||||
expr '${{ steps.versioning.outputs.version }}' > version.txt
|
|
||||||
- name: Upload version artifact
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: version
|
|
||||||
path: version.txt
|
|
||||||
- name: publish
|
- name: publish
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
@ -83,3 +75,10 @@ jobs:
|
|||||||
tag: ${{ steps.versioning.outputs.version }}
|
tag: ${{ steps.versioning.outputs.version }}
|
||||||
prerelease: ${{ github.ref != 'refs/heads/main' }}
|
prerelease: ${{ github.ref != 'refs/heads/main' }}
|
||||||
bodyFile: 'cli/bin/README.md'
|
bodyFile: 'cli/bin/README.md'
|
||||||
|
- shell: bash
|
||||||
|
run: echo '${{ steps.versioning.outputs.version }}' >> version.txt
|
||||||
|
- name: Upload version artifact
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: version
|
||||||
|
path: version.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user