Compare commits
12 Commits
bbb29459f6
...
v0.0.21
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
69656f095d | ||
|
|
1cc3d5b5eb | ||
|
|
228ad14fa9 | ||
|
|
067acd0521 | ||
|
|
91af4b5739 | ||
|
|
e267aeb1ca | ||
|
|
4e5e8f0644 | ||
|
|
a253393f58 | ||
|
|
0b1308e8f0 | ||
|
|
838d7a42eb | ||
|
|
55b60e06da | ||
|
|
7ee90cba7c |
@@ -12,7 +12,8 @@ steps:
|
||||
- name: clean_project
|
||||
image: *git_image
|
||||
commands: |
|
||||
|
||||
ls -als /
|
||||
touch /shared/build.txt
|
||||
echo "1 $CI_WORKSPACE"
|
||||
rm -rf dist
|
||||
rm -f $CI_WORKSPACE/build/version.env
|
||||
@@ -147,7 +148,11 @@ steps:
|
||||
git config user.email "woodpecker@exygen.fr"
|
||||
git config user.name "Woodpecker CI"
|
||||
|
||||
git add package.json ./database/src/sql/*.sql 2>/dev/null || true
|
||||
mkdir -p .woodpecker/builds/
|
||||
echo $NEW_VERSION > .woodpecker/builds/$CI_PIPELINE_NUMBER
|
||||
git add ./database/src/sql/*.sql 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
|
||||
if ! git diff --cached --quiet; then
|
||||
|
||||
1
.woodpecker/builds/95
Normal file
1
.woodpecker/builds/95
Normal file
@@ -0,0 +1 @@
|
||||
0.0.21
|
||||
@@ -1,7 +1,7 @@
|
||||
# Documentation: https://woodpecker-ci.org/docs/usage/workflow-syntax
|
||||
|
||||
when:
|
||||
- event: [deployment,manual]
|
||||
- event: [ deployment,manual ]
|
||||
|
||||
steps:
|
||||
- name: get-artifact
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
when:
|
||||
- event: [ push, deployment, manual ]
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: alpine
|
||||
commands: |
|
||||
echo "Pipeline déclenché !"
|
||||
echo "Event: ${CI_PIPELINE_EVENT}"
|
||||
echo "Deploy to: ${CI_PIPELINE_DEPLOY_TARGET}"
|
||||
1
database/src/sql/version-0.0.18-0.0.19.sql
Normal file
1
database/src/sql/version-0.0.18-0.0.19.sql
Normal file
@@ -0,0 +1 @@
|
||||
-- none
|
||||
1
database/src/sql/version-0.0.19-0.0.20.sql
Normal file
1
database/src/sql/version-0.0.19-0.0.20.sql
Normal file
@@ -0,0 +1 @@
|
||||
-- none
|
||||
1
database/src/sql/version-0.0.20-0.0.21.sql
Normal file
1
database/src/sql/version-0.0.20-0.0.21.sql
Normal file
@@ -0,0 +1 @@
|
||||
-- none
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "cicd",
|
||||
"private": true,
|
||||
"version": "0.0.18",
|
||||
"version": "0.0.21",
|
||||
"description": "Node.js Rest Apis with Express, Sequelize & PostgreSQL",
|
||||
"scripts": {
|
||||
"update:patch": "node scripts/update-version.js -patch",
|
||||
|
||||
Reference in New Issue
Block a user