name: Loop Builder release on: push: tags: - 'loop-builder-v*' permissions: contents: write jobs: release: runs-on: ubuntu-latest steps: - name: Check out the tagged source env: TAG: ${{ gitea.ref_name }} COMMIT: ${{ gitea.sha }} run: | git clone --depth 1 --branch "$TAG" https://git.labs.casa/josh/eventLabs.git source test "$(git -C source rev-parse HEAD)" = "$(git -C source rev-parse "$COMMIT^{commit}")" - name: Publish the Loop Builder ZIP working-directory: source env: TAG: ${{ gitea.ref_name }} EVENTLABS_RELEASE_TOKEN: ${{ secrets.GITEA_TOKEN }} run: python3 scripts/release.py --loop-builder "$TAG" --publish