Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
CI Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pierr3 committed Jan 17, 2024
1 parent 792f842 commit 3713533
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
with:
python-version: "3.10"
- name: Set env (release)
if: "!github.event.prerelease"
if: github.event.release.prerelease == false
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set env (pre-release)
if: "github.event.prerelease"
if: github.event.release.prerelease == true
run: |
echo "RELEASE_VERSION=v`cat VERSION_BETA`" >> $GITHUB_ENV
echo `cat VERSION_BETA` > VERSION
Expand Down Expand Up @@ -67,10 +67,10 @@ jobs:
with:
python-version: "3.10"
- name: Set env (release)
if: "!github.event.prerelease"
if: github.event.release.prerelease == false
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set env (pre-release)
if: "github.event.prerelease"
if: github.event.release.prerelease == true
run: |
echo "RELEASE_VERSION=v`cat VERSION_BETA`" >> $GITHUB_ENV
echo `cat VERSION_BETA` > VERSION
Expand Down Expand Up @@ -115,10 +115,10 @@ jobs:
with:
python-version: "3.10"
- name: Set env (release)
if: "!github.event.prerelease"
if: github.event.release.prerelease == false
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set env (pre-release)
if: "github.event.prerelease"
if: github.event.release.prerelease == true
run: |
echo "RELEASE_VERSION=v`cat VERSION_BETA`" >> $GITHUB_ENV
echo `cat VERSION_BETA` > VERSION
Expand Down

0 comments on commit 3713533

Please sign in to comment.