Compare commits

..

6 Commits

Author SHA1 Message Date
Woodpecker CI
f6139782b4 chore: release v0.0.23 [skip ci] 2026-05-04 06:26:11 +00:00
spassignat
c4297c7c25 patch: pipeline manual
Some checks failed
ci/woodpecker/push/build-pipeline Pipeline was successful
ci/woodpecker/deployment/deploy-pipeline Pipeline failed
2026-05-04 08:25:08 +02:00
spassignat
f89ccb0f63 Merge remote-tracking branch 'origin/main' 2026-05-04 08:24:24 +02:00
spassignat
0ba8dd27f0 patch: pipeline manual 2026-05-04 08:24:13 +02:00
Woodpecker CI
b08a3913e7 chore: release v0.0.22 [skip ci] 2026-05-04 06:22:14 +00:00
spassignat
ac4d180382 patch: pipeline manual
All checks were successful
ci/woodpecker/push/build-pipeline Pipeline was successful
2026-05-04 08:21:11 +02:00
7 changed files with 15 additions and 3 deletions

View File

@@ -148,11 +148,14 @@ steps:
git config user.email "woodpecker@exygen.fr" git config user.email "woodpecker@exygen.fr"
git config user.name "Woodpecker CI" git config user.name "Woodpecker CI"
echo " Save pipeline info"
mkdir -p .woodpecker/builds/ mkdir -p .woodpecker/builds/
echo NEW_VERSION=$NEW_VERSION > .woodpecker/builds/$CI_PIPELINE_NUMBER echo NEW_VERSION=$NEW_VERSION > .woodpecker/builds/$CI_PIPELINE_NUMBER
git add .woodpecker/builds/$CI_PIPELINE_NUMBER 2>/dev/null || true
echo " add generated files (sql)"
git add ./database/src/sql/*.sql 2>/dev/null || true git add ./database/src/sql/*.sql 2>/dev/null || true
git add package.json 2>/dev/null || true git add package.json 2>/dev/null || true
git add .woodpecker/builds/$CI_PIPELINE_NUMBER 2>/dev/null || true
# Commiter uniquement s'il y a des changements # Commiter uniquement s'il y a des changements
if ! git diff --cached --quiet; then if ! git diff --cached --quiet; then

1
.woodpecker/builds/97 Normal file
View File

@@ -0,0 +1 @@
NEW_VERSION=0.0.22

1
.woodpecker/builds/98 Normal file
View File

@@ -0,0 +1 @@
NEW_VERSION=0.0.23

View File

@@ -7,7 +7,12 @@ steps:
- name: get-artifact - name: get-artifact
image: curlimages/curl:latest image: curlimages/curl:latest
commands: | commands: |
VERSION=${CI_COMMIT_TAG#v} echo CI_PIPELINE_PARENT=$CI_PIPELINE_PARENT
echo CI_COMMIT_TAG=$CI_COMMIT_TAG
echo CI_PIPELINE_EVENT=$CI_PIPELINE_EVENT
echo CI_PIPELINE_NUMBER=$CI_PIPELINE_NUMBER
echo CI_PREV_PIPELINE_NUMBER=$CI_PREV_PIPELINE_NUMBER
echo CI_PREV_PIPELINE_PARENT=$CI_PREV_PIPELINE_PARENT
curl -o /tmp/${CI_REPO_NAME}-${VERSION}.tar \ curl -o /tmp/${CI_REPO_NAME}-${VERSION}.tar \
"https://nexus.cicd.exygen.fr/repository/domaine-passignat/apps/${CI_REPO_NAME}/${VERSION}/${CI_REPO_NAME}-${VERSION}.tar" "https://nexus.cicd.exygen.fr/repository/domaine-passignat/apps/${CI_REPO_NAME}/${VERSION}/${CI_REPO_NAME}-${VERSION}.tar"

View File

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

View File

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

View File

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