Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6454b79270 | |||
| 354e54a6d3 |
@@ -30,16 +30,17 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
mkdir -p dist buildtmp/{bin,logs,update}
|
mkdir -p dist buildtmp/
|
||||||
|
|
||||||
# Copie uniquement le contenu de scripts/ dans buildtmp/bin
|
# Copie uniquement le contenu de scripts/ dans buildtmp/bin
|
||||||
cp -r scripts/. buildtmp/bin/
|
cp -r scripts/. buildtmp/
|
||||||
|
|
||||||
# Exclure __init__.py
|
# Exclure __init__.py and remove buildtmp/__pycache__
|
||||||
find buildtmp/bin -name "__init__.py" -delete
|
find buildtmp/ -name "__init__.py" -delete
|
||||||
|
rm -R "buildtmp/__pycache__"
|
||||||
|
|
||||||
# Metadata
|
# Metadata
|
||||||
cat > buildtmp/update/BUILD_INFO.txt <<EOF
|
cat > buildtmp/BUILD_INFO.txt <<EOF
|
||||||
REPO=${{ gitea.event.repository.name }}
|
REPO=${{ gitea.event.repository.name }}
|
||||||
TAG=${{ gitea.ref_name }}
|
TAG=${{ gitea.ref_name }}
|
||||||
COMMIT=${{ gitea.sha }}
|
COMMIT=${{ gitea.sha }}
|
||||||
|
|||||||
Reference in New Issue
Block a user