This commit is contained in:
parent
b5b465c1fa
commit
a4086feee0
@ -27,8 +27,14 @@ jobs:
|
|||||||
aws --endpoint-url=http://${{ secrets.AWS_HOST }} s3 cp ./install_agent.sh s3://release
|
aws --endpoint-url=http://${{ secrets.AWS_HOST }} s3 cp ./install_agent.sh s3://release
|
||||||
|
|
||||||
- name: Create version file
|
- name: Create version file
|
||||||
run: |
|
run: |
|
||||||
echo ${{ github.ref/refs\/tags\// }} > versionagent.txt
|
TAG="${{ github.ref }}"
|
||||||
|
echo "$TAG"
|
||||||
|
TAG="${TAG#refs/tags/}"
|
||||||
|
echo "$TAG"
|
||||||
|
TAG="${TAG#v"
|
||||||
|
echo "$TAG"
|
||||||
|
echo "$TAG" > versionagent.txt
|
||||||
aws --endpoint-url=http://${{ secrets.AWS_HOST }} s3 cp ./versionagent.txt s3://doc
|
aws --endpoint-url=http://${{ secrets.AWS_HOST }} s3 cp ./versionagent.txt s3://doc
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user