1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Use ref name as payload version

This commit is contained in:
Adria Navarro 2023-11-02 13:15:39 +01:00
parent e0bf0f6891
commit f08c42f338

View file

@ -165,11 +165,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get the current budibase release version
id: version
run: |
release_version=$(cat lerna.json | jq -r '.version')
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV
- uses: peter-evans/repository-dispatch@v2
with:
@ -178,6 +173,6 @@ jobs:
github_pat: ${{ secrets.GH_ACCESS_TOKEN }}
client-payload: |-
{
"PAYLOAD_VERSION": "${{ github.sha }}",
"PAYLOAD_VERSION": "${{ github.ref_name }}",
"REF_NAME": "${{ github.ref_name}}"
}