mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
Testing feat pipeline
This commit is contained in:
parent
2b2f0f1ee0
commit
cc2614673e
10
.github/workflows/cooker-selfhosted.yml
vendored
10
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -106,18 +106,10 @@ jobs:
|
|||
id: branch_name
|
||||
run: echo "BRANCH_NAME=$(echo $GITHUB_REF | sed 's|refs/heads/||')" >> $GITHUB_ENV
|
||||
|
||||
- name: "Set TAG_NAME based on branch name (cooker only)"
|
||||
run: |
|
||||
if [[ $BRANCH_NAME == 'feat/'* ]]; then
|
||||
echo "TAG_NAME=feature:${BRANCH_NAME/feat\//}" >> $GITHUB_ENV
|
||||
else
|
||||
echo "TAG_NAME=${BRANCH_NAME}" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
# if it's a feature branch it will not marked as "latest" cooker version
|
||||
- name: "Set makeLatest (cooker only)"
|
||||
run: |
|
||||
if [[ "$TAG_NAME" == 'feature:'* ]]; then
|
||||
if [[ "$BRANCH_NAME" == 'feat/'* ]]; then
|
||||
echo "MAKE_LATEST=false" >> $GITHUB_ENV
|
||||
else
|
||||
echo "MAKE_LATEST=true" >> $GITHUB_ENV
|
||||
|
|
Loading…
Reference in a new issue