1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-24 00:33:27 +00:00

no log: Fix issues in release pipeline

This commit is contained in:
LASER-Yi 2021-04-04 20:01:44 +08:00
parent c35365a5da
commit 94dd36d5dc

View file

@ -54,3 +54,20 @@ jobs:
- name: Create Release - name: Create Release
run: release-it --ci --increment prerelease --preRelease=beta 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