Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a5f83dc2f2 | |||
| 1337eba8c0 |
@@ -27,16 +27,12 @@ jobs:
|
||||
|
||||
- name: Build SDSAT tar.gz
|
||||
run: |
|
||||
set -euxo pipefail
|
||||
|
||||
mkdir -p dist buildtmp
|
||||
|
||||
# Copie uniquement les scripts dans buildtmp
|
||||
cp -r scripts/* buildtmp/
|
||||
|
||||
pwd
|
||||
ls -ila
|
||||
|
||||
# Supprime __init__.py
|
||||
find buildtmp/ -name "__init__.py" -delete
|
||||
|
||||
@@ -78,6 +74,12 @@ jobs:
|
||||
|
||||
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})" \
|
||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||
-H "Content-Type: application/zip" \
|
||||
|
||||
Reference in New Issue
Block a user