Compare commits

..

3 Commits

Author SHA1 Message Date
Woodpecker CI
a89ba6a734 chore: release v0.0.6 [skip ci] 2026-05-02 14:16:52 +00:00
spassignat
e00c052ae7 patch: variable
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-02 16:15:54 +02:00
Woodpecker CI
e1d0ab7eef chore: release v0.0.5 [skip ci] 2026-05-02 14:08:20 +00:00
4 changed files with 5 additions and 5 deletions

View File

@@ -8,6 +8,7 @@ variables:
- &node_image node:18-alpine
- &git_image alpine/git
- &curl_image curlimages/curl:latest
- &repository domaine-passignat
steps:
# Étape 1: Nettoyage du projet
@@ -118,9 +119,7 @@ steps:
echo $CI_REPO_NAME
if [ "$version_type" != "none" ]; then
echo "📦 Publication de la version $NEW_VERSION : $ARTIFACT"
if [ ! -f "$ARTIFACT_FILE" ]; then
echo "❌ Fichier introuvable: $ARTIFACT_FILE"
ls -la $ARTIFACT_FILE
@@ -132,8 +131,7 @@ steps:
-F "raw.directory=apps/$CI_REPO_NAME/$NEW_VERSION" \
-F "raw.asset1=@$ARTIFACT_FILE" \
-F "raw.asset1.filename=$ARTIFACT" \
http://nexus.cicd.exygen.fr/service/rest/v1/components?repository=domaine-passignat
http://nexus.cicd.exygen.fr/service/rest/v1/components?repository=*repository
echo "✅ Artefact publié"
else
echo "⏭️ Pas de publication (version_type=none)"

View File

@@ -0,0 +1 @@
-- none

View File

@@ -0,0 +1 @@
-- none

View File

@@ -1,7 +1,7 @@
{
"name": "cicd",
"private": true,
"version": "0.0.4",
"version": "0.0.6",
"description": "Node.js Rest Apis with Express, Sequelize & PostgreSQL",
"scripts": {
"update:patch": "node scripts/update-version.js -patch",