Skip to content

Commit

Permalink
Configure 2.0.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
botisSmile committed Dec 3, 2024
1 parent a38f8e4 commit 623394d
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
uses: ./.github/workflows/tests.yml
with:
version: 2.0.x
last_published_version: 2.0.x-dev
last_published_version: 2.0.0
use_default_github_ref: true
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/deploy-2.0.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: ./.github/workflows/tests.yml
with:
version: 2.0.x
last_published_version: 2.0.x-dev
last_published_version: 2.0.0
secrets:
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
PACKAGIST_URL: ${{ secrets.PACKAGIST_URL }}
Expand All @@ -32,7 +32,7 @@ jobs:
uses: ./.github/workflows/deploy-int.yml
with:
version: 2.0.x
last_published_version: 2.0.x-dev
last_published_version: 2.0.0
secrets:
AWS_DEPLOY_KEY: ${{ secrets.AWS_DEPLOY_KEY }}
AWS_HOSTNAME: ${{ secrets.AWS_HOSTNAME_STABLE }}
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ init-dev-env: .env ## Initialize current environment with dev repositories
$(MAKE) start
$(MAKE) switch-dev-env

switch-dev-env: ## Switch current environment with dev repositories on a composer version, pass the parameter "v=" to set the composer version, example: make switch-dev-env v=1.0.1
@$(eval v ?= 2.0.x-dev)
switch-dev-env: ## Switch current environment with dev repositories on a composer version, pass the parameter "v=" to set the composer version, example: make switch-dev-env v=2.0.0
@$(eval v ?= 2.0.0)
$(DOCKER_COMP) up -d --wait php # Wait php container to be ready
$(COMPOSER) config repositories.gally-standard '{ "type": "path", "url": "./packages/gally-standard", "options": { "versions": { "gally/gally-standard": "$(v)"}} }'
$(COMPOSER) config repositories.gally-premium '{ "type": "path", "url": "./packages/gally-premium", "options": { "versions": { "gally/gally-premium": "$(v)"}} }'
Expand Down
2 changes: 1 addition & 1 deletion api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"doctrine/doctrine-bundle": "^2.7",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.12",
"gally/gally-standard": "2.0.x-dev",
"gally/gally-standard": "2.0.0",
"hautelook/alice-bundle": "2.11.0",
"lexik/jwt-authentication-bundle": "^2.14",
"nelmio/cors-bundle": "^2.2",
Expand Down
11 changes: 4 additions & 7 deletions api/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion front/example-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@elastic-suite/gally-admin-shared": "2.0.0-alpha.0",
"@elastic-suite/gally-admin-shared": "2.0.0",
"@emotion/react": "11.10.4",
"@emotion/styled": "11.10.4",
"@mui/icons-material": "5.10.6",
Expand Down
4 changes: 2 additions & 2 deletions front/pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"prepare": "cd public && ln -fsT ../../node_modules/@elastic-suite/gally-admin-components/public/locales/ locales && ln -fsT ../../node_modules/@elastic-suite/gally-admin-components/public/images/ images"
},
"dependencies": {
"@elastic-suite/gally-admin-components": "2.0.0-alpha.0",
"@elastic-suite/gally-admin-shared": "2.0.0-alpha.0",
"@elastic-suite/gally-admin-components": "2.0.0",
"@elastic-suite/gally-admin-shared": "2.0.0",
"@emotion/react": "11.10.4",
"@emotion/styled": "11.10.4",
"@mui/material": "5.10.5",
Expand Down

0 comments on commit 623394d

Please sign in to comment.