Compare commits
1 Commits
v1.2.0
...
19fab8ec65
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19fab8ec65 |
@@ -21,7 +21,16 @@
|
|||||||
"Bash(git commit:*)",
|
"Bash(git commit:*)",
|
||||||
"Bash(git tag:*)",
|
"Bash(git tag:*)",
|
||||||
"Bash(node:*)",
|
"Bash(node:*)",
|
||||||
"Bash(chmod +x /home/valentin/Documents/GitHub/multi_render_blender/release.sh)"
|
"Bash(chmod +x /home/valentin/Documents/GitHub/multi_render_blender/release.sh)",
|
||||||
|
"Bash(git rm --cached .env)",
|
||||||
|
"Bash(git status -u)",
|
||||||
|
"Bash(git push)",
|
||||||
|
"Bash(git push origin v1.2.0)",
|
||||||
|
"Bash(python3 -c \"import json,sys; data=json.load\\(sys.stdin\\); [print\\(f''{t[\"\"name\"\"]} -> {t[\"\"id\"\"][:12]}''\\) for t in data]\")",
|
||||||
|
"Bash(python3 -c \"import json,sys; d=json.load\\(sys.stdin\\); print\\(f''Release creee: id={d.get\\(\"\"id\"\", \"\"ERREUR\"\"\\)} tag={d.get\\(\"\"tag_name\"\", \"\"?\"\"\\)}''\\); print\\(d.get\\(''message'',''''\\)\\) if ''message'' in d else None\")",
|
||||||
|
"Bash(python3 -c \"import json,sys; d=json.load\\(sys.stdin\\); print\\(f'' OK: {d.get\\(\"\"name\"\",\"\"?\"\"\\)} \\({d.get\\(\"\"size\"\",0\\)//1024//1024}MB\\)''\\)\")",
|
||||||
|
"Bash(python3 -c \"import json,sys; d=json.load\\(sys.stdin\\); print\\(f''OK: {d.get\\(\"\"name\"\",d.get\\(\"\"message\"\",\"\"?\"\"\\)\\)} size={d.get\\(\"\"size\"\",0\\)//1024//1024}MB''\\)\")",
|
||||||
|
"Bash(python3 -c \":*)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -146,8 +146,7 @@ for FILE in dist/${PRODUCT_NAME}-${VERSION}-*.zip; do
|
|||||||
echo "Upload de $FILENAME..."
|
echo "Upload de $FILENAME..."
|
||||||
|
|
||||||
curl -s -X POST \
|
curl -s -X POST \
|
||||||
"${GITEA_URL}/api/v1/repos/${OWNER}/${REPO}/releases/${RELEASE_ID}/assets?name=${FILENAME}" \
|
"${GITEA_URL}/api/v1/repos/${OWNER}/${REPO}/releases/${RELEASE_ID}/assets?name=${FILENAME}&token=${GITEA_TOKEN}" \
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
|
||||||
-F "attachment=@${FILE}"
|
-F "attachment=@${FILE}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user