8 Commits

Author SHA1 Message Date
a5f83dc2f2 add debug v2.0
All checks were successful
CI / test (push) Successful in 11s
2026-02-14 12:12:33 +01:00
1337eba8c0 add debug
All checks were successful
CI / test (push) Successful in 11s
2026-02-14 12:11:21 +01:00
d9e8b9e41f Update .gitea/workflows/release.yml
Some checks failed
CI / test (push) Successful in 12s
Release / release (push) Failing after 7s
2026-02-14 12:06:04 +01:00
1537bff629 Update .gitea/workflows/release.yml
All checks were successful
CI / test (push) Successful in 12s
2026-02-14 12:02:38 +01:00
6e4ffdba76 Update .gitea/workflows/release.yml
All checks were successful
CI / test (push) Successful in 11s
2026-02-14 11:59:54 +01:00
74ec6a0ed2 Update .gitea/workflows/release.yml
All checks were successful
CI / test (push) Successful in 11s
2026-02-14 11:57:40 +01:00
5794b57cbe Update .gitea/workflows/release.yml
All checks were successful
CI / test (push) Successful in 12s
2026-02-14 11:55:23 +01:00
f174960b80 Update .gitea/workflows/release.yml
All checks were successful
CI / test (push) Successful in 12s
2026-02-14 11:53:56 +01:00

View File

@@ -27,13 +27,14 @@ jobs:
- name: Build SDSAT tar.gz - name: Build SDSAT tar.gz
run: | run: |
mkdir -p dist buildtmp/{bin,logs,update}
mkdir -p dist buildtmp
# Copie scripts # Copie uniquement les scripts dans buildtmp
cp -r scripts buildtmp/bin/ cp -r scripts/* buildtmp/
# Supprime tous les __init__.py # Supprime __init__.py
find buildtmp/scripts/bin -name "__init__.py" -delete find buildtmp/ -name "__init__.py" -delete
# Génère le fichier de metadata # Génère le fichier de metadata
cat > buildtmp/BUILD_INFO.txt <<EOF cat > buildtmp/BUILD_INFO.txt <<EOF
@@ -73,6 +74,12 @@ jobs:
ASSET="dist/SDSAT-${TAG}.zip" ASSET="dist/SDSAT-${TAG}.zip"
echo "PWD=$(pwd)"
echo "Listing dist:"
ls -la dist || true
echo "Find tar.gz:"
find . -maxdepth 3 -type f \( -name "*.tar.gz" -o -name "*.zip" \) -print -exec ls -la {} \;
curl -sS -X POST "${API}/repos/${OWNER}/${REPO}/releases/${RID}/assets?name=$(basename ${ASSET})" \ curl -sS -X POST "${API}/repos/${OWNER}/${REPO}/releases/${RID}/assets?name=$(basename ${ASSET})" \
-H "Authorization: token ${GITEA_TOKEN}" \ -H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/zip" \ -H "Content-Type: application/zip" \