ci(linux): determine correct version [skip ci]

This commit is contained in:
Baptiste Augrain 2024-02-22 13:22:07 +01:00
parent 2fff1a6f83
commit d87569085d
2 changed files with 7 additions and 1 deletions

View File

@ -91,6 +91,12 @@ jobs:
- name: Clone VSCode repo
run: ./get_repo.sh
- name: Check existing VSCodium tags/releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHECK_ASSETS: 'no'
run: ./check_tags.sh
- name: Build
run: ./build.sh

View File

@ -47,7 +47,7 @@ contains() {
echo "${ASSETS}" | grep "${1}\""
}
if [[ "${ASSETS}" != "null" ]]; then
if [[ "${ASSETS}" != "null" && "${CHECK_ASSETS}" != "no" ]]; then
if [[ "${IS_SPEARHEAD}" == "yes" ]]; then
if [[ -z $( contains "${APP_NAME}-${RELEASE_VERSION}-src.tar.gz" ) || -z $( contains "${APP_NAME}-${RELEASE_VERSION}-src.zip" ) ]]; then
echo "Building because we have no SRC"