Skip to content

Commit

Permalink
formatting release tags for branch handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 authored Jan 4, 2021
1 parent f00cd3f commit f9cd0dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ jobs:
# Decide based on branch which servers to use
- name: Pass branch
id: branch
run: echo "::set-output name=value::${GITHUB_REF##*/}";
run: if [[ ${GITHUB_REF##*/} == v*) ]]; then
echo "::set-output name=value::'RELEASE '${GITHUB_REF##*/}";
else
echo "::set-output name=value::${GITHUB_REF##*/}";
fi;
- name: Setup local servers
id: local-servers
shell: bash
Expand Down

0 comments on commit f9cd0dd

Please sign in to comment.