Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
leximpact-socio-fiscal-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur socio-fiscal
leximpact-socio-fiscal-ui
Commits
6f7a6dff
Commit
6f7a6dff
authored
1 year ago
by
Emmanuel Raviart
Browse files
Options
Downloads
Patches
Plain Diff
Prettify
parent
d42e9367
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!159
Upgrade packages
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab-ci/src/gitlab-ci.ts
+4
-6
4 additions, 6 deletions
gitlab-ci/src/gitlab-ci.ts
with
4 additions
and
6 deletions
gitlab-ci/src/gitlab-ci.ts
+
4
−
6
View file @
6f7a6dff
...
@@ -208,9 +208,8 @@ async function main() {
...
@@ -208,9 +208,8 @@ async function main() {
// `npm install @leximpact/socio-fiscal-openfisca-json@latest` has updated `package-lock.json`.
// `npm install @leximpact/socio-fiscal-openfisca-json@latest` has updated `package-lock.json`.
// => Generate a new version of leximpact-socio-fiscal-api.
// => Generate a new version of leximpact-socio-fiscal-api.
const
pkg
=
await
fs
.
readJson
(
packagePath
)
const
pkg
=
await
fs
.
readJson
(
packagePath
)
const
nextVersionObject
=
await
nextVersionObjectFromPackageAndTags
(
const
nextVersionObject
=
pkg
,
await
nextVersionObjectFromPackageAndTags
(
pkg
)
)
await
commitAndPushWithUpdatedVersions
(
nextVersionObject
)
await
commitAndPushWithUpdatedVersions
(
nextVersionObject
)
await
triggerDevDeployPipeline
()
await
triggerDevDeployPipeline
()
await
triggerProdDeployPipeline
()
await
triggerProdDeployPipeline
()
...
@@ -241,9 +240,8 @@ async function main() {
...
@@ -241,9 +240,8 @@ async function main() {
await
$
`npm install @leximpact/socio-fiscal-openfisca-json@latest`
await
$
`npm install @leximpact/socio-fiscal-openfisca-json@latest`
const
pkg
=
await
fs
.
readJson
(
packagePath
)
const
pkg
=
await
fs
.
readJson
(
packagePath
)
const
nextVersionObject
=
await
nextVersionObjectFromPackageAndTags
(
const
nextVersionObject
=
pkg
,
await
nextVersionObjectFromPackageAndTags
(
pkg
)
)
// Test project with the current dependencies (and latest @leximpact/socio-fiscal-openfisca-json).
// Test project with the current dependencies (and latest @leximpact/socio-fiscal-openfisca-json).
await
$
`ln -s example.env .env`
await
$
`ln -s example.env .env`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment