Skip to content

Commit

Permalink
Fix release-deploy automation
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Jul 13, 2022
1 parent 531789d commit 7c207f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ jobs:
- name: Get current Release number
# shellcheck disable=SC2062
run: |
echo "RELEASE_VERSION=$(echo ${{ github.event.release.name }} \
| grep -E -o "v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+")" \
>> "${GITHUB_ENV}"
RELEASE_VERSION=$(echo ${{ github.event.release.name }} \
| grep -E -o "v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+")
echo "$RELEASE_VERSION" >> "${GITHUB_ENV}"
if [ -z "${RELEASE_VERSION}" ]; then
echo "No release version found in environment, using input..."
echo "RELEASE_VERSION=${{ github.event.inputs.release_version }}" \
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
* More customization - whitelisting and blacklisting of error codes and scripts
* And more...

## v2.3.1

* Fix release automation

## v2.3.0

* Use pre-build containers to improve performance of action
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ outputs:

runs:
using: docker
image: docker://ghcr.io/differential-shellcheck/differential-shellcheck:v2.3.0
image: docker://ghcr.io/differential-shellcheck/differential-shellcheck:v2.3.1
env:
INPUT_IGNORED_CODES: ${{ inputs.ignored-codes }}
INPUT_SHELL_SCRIPTS: ${{ inputs.shell-scripts }}

0 comments on commit 7c207f9

Please sign in to comment.