From 2d5e1f47a0732c0094210167a0370ec0ab03641c Mon Sep 17 00:00:00 2001 From: Benedict Diederich Date: Tue, 29 Nov 2022 07:55:20 +0100 Subject: [PATCH] Update imswitch-bundle.yml --- .github/workflows/imswitch-bundle.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/imswitch-bundle.yml b/.github/workflows/imswitch-bundle.yml index 1d525ce98..bbbd7baf7 100644 --- a/.github/workflows/imswitch-bundle.yml +++ b/.github/workflows/imswitch-bundle.yml @@ -31,6 +31,18 @@ jobs: python3 -m pip install . python3 -m pip install pyinstaller==5.4.1 shell: bash + - name: Find latest tag of dependency + id: remote_chart + uses: oprypin/find-latest-tag@v1 + with: + repository: openUC2/UC2-REST + releases-only: true + - name: bump version + uses: jacobtomlinson/gha-find-replace@v2 + with: + find: '__version__ = "__version__develop"' + replace: '__version__ = "${{ steps.remote_chart.outputs.tag }}"' + regex: false - name: Build bundle run: | pyinstaller imswitch.spec