diff options
author | LASER-Yi <[email protected]> | 2021-04-04 20:01:44 +0800 |
---|---|---|
committer | LASER-Yi <[email protected]> | 2021-04-04 20:01:44 +0800 |
commit | 94dd36d5dc0104b52db72a1455646e3a4b643c70 (patch) | |
tree | 1bb3c6a0737879a14dbe8e83a11e86bec23cfd7a /.github | |
parent | c35365a5da6fb08b4fd8f8c3889216166f65bd30 (diff) | |
download | bazarr-94dd36d5dc0104b52db72a1455646e3a4b643c70.tar.gz bazarr-94dd36d5dc0104b52db72a1455646e3a4b643c70.zip |
no log: Fix issues in release pipeline
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release_beta_to_dev.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/release_beta_to_dev.yaml b/.github/workflows/release_beta_to_dev.yaml index 0f8c84274..b4a005231 100644 --- a/.github/workflows/release_beta_to_dev.yaml +++ b/.github/workflows/release_beta_to_dev.yaml @@ -54,3 +54,20 @@ jobs: - name: Create Release run: release-it --ci --increment prerelease --preRelease=beta + + # The following steps are a hack to schedule.yaml + # TODO: Remove this when we are no longer using @release-it/bumper to update VERSION file and push a new commit to the repo + - name: (Hack) Get Latest Version + id: current-version + run: | + CURRENT_VERSION=$(git rev-parse HEAD) + echo "::set-output name=CURRENT_VERSION::$CURRENT_VERSION" + + - name: (Hack) Generate Schedule Cache + uses: actions/cache@v2 + with: + path: ./LAST_VERSION_SAVED + key: bazarr-development-release_beta_to_dev.yaml-${{ steps.current-version.outputs.CURRENT_VERSION }} + + - name: (Hack) Cache Current Version + run: echo "1" > LAST_VERSION_SAVED
\ No newline at end of file |