Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1085ba4502 | ||
|
|
cc65eb1ba9 | ||
|
|
9b9df6f9c1 | ||
|
|
9d980e79c1 |
@@ -131,10 +131,9 @@ steps:
|
|||||||
else
|
else
|
||||||
echo "⏭️ Pas de publication (version_type=none)"
|
echo "⏭️ Pas de publication (version_type=none)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
depends_on: [ package ]
|
depends_on: [ package ]
|
||||||
|
|
||||||
# Étape 7: Commit et tag (après publication)
|
# Étape 7: Commit et tag
|
||||||
- name: commit_tag
|
- name: commit_tag
|
||||||
image: *git_image
|
image: *git_image
|
||||||
environment:
|
environment:
|
||||||
@@ -142,7 +141,12 @@ steps:
|
|||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
commands: |
|
commands: |
|
||||||
source $CI_WORKSPACE/version.env
|
source $CI_WORKSPACE/version.env
|
||||||
|
if [ -d "/shared" ]; then
|
||||||
|
echo "Le répertoire shared existe"
|
||||||
|
ls -als /shared/
|
||||||
|
else
|
||||||
|
exit -1
|
||||||
|
fi
|
||||||
if [ "$version_type" != "none" ]; then
|
if [ "$version_type" != "none" ]; then
|
||||||
git remote set-url origin http://oauth2:$GITEA_TOKEN@gitea.cicd.exygen.fr/$CI_REPO_OWNER/$CI_REPO_NAME.git
|
git remote set-url origin http://oauth2:$GITEA_TOKEN@gitea.cicd.exygen.fr/$CI_REPO_OWNER/$CI_REPO_NAME.git
|
||||||
git config user.email "woodpecker@exygen.fr"
|
git config user.email "woodpecker@exygen.fr"
|
||||||
|
|||||||
1
database/src/sql/version-0.0.34-0.0.35.sql
Normal file
1
database/src/sql/version-0.0.34-0.0.35.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
-- none
|
||||||
1
database/src/sql/version-0.0.35-0.0.36.sql
Normal file
1
database/src/sql/version-0.0.35-0.0.36.sql
Normal file
@@ -0,0 +1 @@
|
|||||||
|
-- none
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "cicd",
|
"name": "cicd",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.34",
|
"version": "0.0.36",
|
||||||
"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",
|
||||||
|
|||||||
Reference in New Issue
Block a user