👷 Fix version sent to custopizer build

This commit is contained in:
Gina Häußge committed 2021-08-05 12:29:38 +02:00
1 parent b8417d838c
commit 3a7f539fd5
1 file changed
+5 -1
+5 -1
View File
@@ -183,10 +183,14 @@ jobs:
needs: publish-on-pypi
runs-on: ubuntu-latest
steps:
- name: 👀 Determine version
run: |
OCTOPRINT_VERSION=$(echo $GITHUB_REF | cut -d/ -f3)
echo "OCTOPRINT_VERSION=$OCTOPRINT_VERSION" >> $GITHUB_ENV
- name: 🚀 Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.REPODISPATCH_TOKEN }}
repository: OctoPrint/OctoPi-UpToDate
event-type: octoprint_release
client-payload: '{"version": "${{ github.ref }}"}'
client-payload: '{"version": "${{ env.OCTOPRINT_VERSION }}"}'