Testing feat pipeline

This commit is contained in:
XargonWan 2023-09-29 10:04:58 +02:00
parent 0b090bafe3
commit 2b2f0f1ee0

View file

@ -113,17 +113,15 @@ jobs:
else else
echo "TAG_NAME=${BRANCH_NAME}" >> $GITHUB_ENV echo "TAG_NAME=${BRANCH_NAME}" >> $GITHUB_ENV
fi fi
shell: /usr/bin/bash -e {0}
# if it's a feature branch it will not marked as "latest" cooker version # if it's a feature branch it will not marked as "latest" cooker version
- name: "Set makeLatest (cooker only)" - name: "Set makeLatest (cooker only)"
run: | run: |
if $ { { contains(env.TAG_NAME, 'feature:') }}; then if [[ "$TAG_NAME" == 'feature:'* ]]; then
echo "MAKE_LATEST=false" >> $GITHUB_ENV echo "MAKE_LATEST=false" >> $GITHUB_ENV
else else
echo "MAKE_LATEST=true" >> $GITHUB_ENV echo "MAKE_LATEST=true" >> $GITHUB_ENV
fi fi
shell: /usr/bin/bash -e {0}
- name: Publish the flatpak in a new cooker release - name: Publish the flatpak in a new cooker release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1