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 - name: Clone VSCode repo
run: ./get_repo.sh 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 - name: Build
run: ./build.sh run: ./build.sh

View file

@ -47,7 +47,7 @@ contains() {
echo "${ASSETS}" | grep "${1}\"" echo "${ASSETS}" | grep "${1}\""
} }
if [[ "${ASSETS}" != "null" ]]; then if [[ "${ASSETS}" != "null" && "${CHECK_ASSETS}" != "no" ]]; then
if [[ "${IS_SPEARHEAD}" == "yes" ]]; 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 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" echo "Building because we have no SRC"