Skip to content

Commit

Permalink
Fix release flow (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholastmosher committed Aug 3, 2021
1 parent 966b38e commit 5ff0616
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
required: false
default: ""
installer_version:
required: true
required: false
description: "The version of Fluvio to download with install.sh"
default: ""

Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ on:
description: 'Fluvio git commit override (latest `master` by default)'
default: ''
installer_version:
required: true
required: false
description: ''
default: 'stable'
default: ''
env:
USE_COMMIT: ${{ github.event.inputs.commit }}
FORCE_RELEASE: ${{ github.event.inputs.force }}
Expand Down Expand Up @@ -178,8 +178,10 @@ jobs:
- name: Install fluvio-package
run: |
unset VERSION
export VERSION=${{ github.event.inputs.installer_version || 'stable' }}
echo "VERSION=$VERSION"
if [ -n "${{ github.event.inputs.installer_version }}" ]; then
export VERSION=${{ github.event.inputs.installer_version }}
echo "VERSION=$VERSION"
fi
curl -fsS https://packages.fluvio.io/v1/install.sh | bash
${HOME}/.fluvio/bin/fluvio install fluvio-package
Expand Down Expand Up @@ -252,8 +254,10 @@ jobs:
steps:
- name: Install fluvio-package
run: |
export VERSION=${{ github.event.inputs.installer_version || 'stable' }}
echo "VERSION=$VERSION"
if [ -n "${{ github.event.inputs.installer_version }}" ]; then
export VERSION=${{ github.event.inputs.installer_version }}
echo "VERSION=$VERSION"
fi
curl -fsS https://packages.fluvio.io/v1/install.sh | bash
${HOME}/.fluvio/bin/fluvio install fluvio-package
Expand Down

0 comments on commit 5ff0616

Please sign in to comment.