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

Commit

Permalink
pre rel
Browse files Browse the repository at this point in the history
  • Loading branch information
RossBugginsNHS committed Jun 27, 2024
1 parent 8d99175 commit 450b389
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd-3-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
if [${{inputs.ignore_prereleases=='true'}}]; then
if [[ ${{inputs.ignore_prereleases}}=='true' ]]; then
json=$(gh release list --json tagName --limit 1 --exclude-drafts --exclude-pre-releases)
else
json=$(gh release list --json tagName --limit 1 --exclude-drafts)
fi
echo $json
release_version=$(echo $json | (jq -r '.[0].tagName'))
echo $release_version
if [[ $release_version == null ]]; then exit 1; else echo $release_version; fi
echo release_version=$(echo $release_version) >> $GITHUB_OUTPUT
- name: "Get release version"
Expand Down

0 comments on commit 450b389

Please sign in to comment.