From d331fd359c279b53666230e8ac7a5c96b0c3c6ba Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Fri, 3 Mar 2023 11:11:55 +0100 Subject: [PATCH] Use a valid SemVer format for the SNAPSHOT version (#4489) --- .github/workflows/cypress.yml | 12 +++++----- apps/account-ui/package.json | 6 ++--- apps/admin-ui/package.json | 6 ++--- apps/keycloak-server/scripts/start-server.mjs | 2 +- keycloak-theme/pom.xml | 2 +- libs/keycloak-admin-client/package.json | 2 +- libs/keycloak-js/package.json | 2 +- libs/keycloak-masthead/package.json | 4 ++-- libs/ui-shared/package.json | 2 +- package-lock.json | 22 +++++++++---------- 10 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index c3ecf69c46..6b06dc9ab4 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -52,13 +52,13 @@ jobs: working-directory: keycloak-repo run: | mvn clean install --no-snapshot-updates --batch-mode --errors -DskipTests -DskipCommon -DskipAccount2 -Pdistribution - mv quarkus/dist/target/keycloak-999-SNAPSHOT.tar.gz ../keycloak-999-SNAPSHOT.tar.gz + mv quarkus/dist/target/keycloak-999.0.0-SNAPSHOT.tar.gz ../keycloak-999.0.0-SNAPSHOT.tar.gz - name: Upload Keycloak server uses: actions/upload-artifact@v3 with: name: keycloak - path: keycloak-999-SNAPSHOT.tar.gz + path: keycloak-999.0.0-SNAPSHOT.tar.gz install-nightly: if: ${{ github.event_name == 'schedule' }} @@ -69,13 +69,13 @@ jobs: - name: Download Keycloak id: extract-server run: | - gh release -R keycloak/keycloak download nightly -p keycloak-999-SNAPSHOT.tar.gz + gh release -R keycloak/keycloak download nightly -p keycloak-999.0.0-SNAPSHOT.tar.gz - name: Upload Keycloak server uses: actions/upload-artifact@v3 with: name: keycloak - path: keycloak-999-SNAPSHOT.tar.gz + path: keycloak-999.0.0-SNAPSHOT.tar.gz test: needs: [build-keycloak, install-nightly] @@ -113,8 +113,8 @@ jobs: - name: Start Keycloak Server run: | - tar xfvz keycloak-999-SNAPSHOT.tar.gz - keycloak-999-SNAPSHOT/bin/kc.sh start-dev --features=admin2,admin-fine-grained-authz,declarative-user-profile &> ~/server.log & + tar xfvz keycloak-999.0.0-SNAPSHOT.tar.gz + keycloak-999.0.0-SNAPSHOT/bin/kc.sh start-dev --features=admin2,admin-fine-grained-authz,declarative-user-profile &> ~/server.log & env: KEYCLOAK_ADMIN: admin KEYCLOAK_ADMIN_PASSWORD: admin diff --git a/apps/account-ui/package.json b/apps/account-ui/package.json index ce64b8170a..bd2ccf487b 100644 --- a/apps/account-ui/package.json +++ b/apps/account-ui/package.json @@ -12,15 +12,15 @@ "@patternfly/react-icons": "^4.93.6", "i18next": "^22.4.10", "i18next-http-backend": "^2.1.1", - "keycloak-js": "999.0.0-dev", - "keycloak-masthead": "999.0.0-dev", + "keycloak-js": "999.0.0-SNAPSHOT", + "keycloak-masthead": "999.0.0-SNAPSHOT", "lodash-es": "^4.17.21", "react": "^18.2.0", "react-dom": "^18.2.0", "react-hook-form": "^7.43.1", "react-i18next": "^12.2.0", "react-router-dom": "6.8.2", - "ui-shared": "999.0.0-dev" + "ui-shared": "999.0.0-SNAPSHOT" }, "devDependencies": { "@types/lodash-es": "^4.17.6", diff --git a/apps/admin-ui/package.json b/apps/admin-ui/package.json index 7d8b4f0106..e554cbda6f 100644 --- a/apps/admin-ui/package.json +++ b/apps/admin-ui/package.json @@ -67,7 +67,7 @@ } }, "dependencies": { - "@keycloak/keycloak-admin-client": "999.0.0-dev", + "@keycloak/keycloak-admin-client": "999.0.0-SNAPSHOT", "@patternfly/patternfly": "^4.224.2", "@patternfly/react-code-editor": "^4.82.113", "@patternfly/react-core": "^4.276.6", @@ -78,7 +78,7 @@ "flat": "^5.0.2", "i18next": "^22.4.10", "i18next-http-backend": "^2.1.1", - "keycloak-js": "999.0.0-dev", + "keycloak-js": "999.0.0-SNAPSHOT", "lodash-es": "^4.17.21", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -88,7 +88,7 @@ "react-i18next": "^12.2.0", "react-router-dom": "6.8.2", "reactflow": "^11.5.6", - "ui-shared": "999.0.0-dev", + "ui-shared": "999.0.0-SNAPSHOT", "use-react-router-breadcrumbs": "^4.0.1" }, "devDependencies": { diff --git a/apps/keycloak-server/scripts/start-server.mjs b/apps/keycloak-server/scripts/start-server.mjs index 62b4b5165f..db5ef4a927 100755 --- a/apps/keycloak-server/scripts/start-server.mjs +++ b/apps/keycloak-server/scripts/start-server.mjs @@ -67,7 +67,7 @@ async function getNightlyAsset() { }); return release.data.assets.find( - ({ name }) => name === "keycloak-999-SNAPSHOT.tar.gz" + ({ name }) => name === "keycloak-999.0.0-SNAPSHOT.tar.gz" ); } diff --git a/keycloak-theme/pom.xml b/keycloak-theme/pom.xml index 545c4c301f..d8c26c2f79 100644 --- a/keycloak-theme/pom.xml +++ b/keycloak-theme/pom.xml @@ -21,7 +21,7 @@ org.keycloak keycloak-admin-ui - 999-SNAPSHOT + 999.0.0-SNAPSHOT Keycloak Administration UI Keycloak Administration UI diff --git a/libs/keycloak-admin-client/package.json b/libs/keycloak-admin-client/package.json index da5c2ce023..23d67630f4 100644 --- a/libs/keycloak-admin-client/package.json +++ b/libs/keycloak-admin-client/package.json @@ -1,6 +1,6 @@ { "name": "@keycloak/keycloak-admin-client", - "version": "999.0.0-dev", + "version": "999.0.0-SNAPSHOT", "description": "keycloak admin client", "type": "module", "main": "lib/index.js", diff --git a/libs/keycloak-js/package.json b/libs/keycloak-js/package.json index e1293f7278..dfae409357 100644 --- a/libs/keycloak-js/package.json +++ b/libs/keycloak-js/package.json @@ -1,6 +1,6 @@ { "name": "keycloak-js", - "version": "999.0.0-dev", + "version": "999.0.0-SNAPSHOT", "description": "Keycloak Adapter", "main": "./dist/keycloak.js", "module": "./dist/keycloak.mjs", diff --git a/libs/keycloak-masthead/package.json b/libs/keycloak-masthead/package.json index 0a27178e1f..9c7305ff9e 100644 --- a/libs/keycloak-masthead/package.json +++ b/libs/keycloak-masthead/package.json @@ -1,6 +1,6 @@ { "name": "keycloak-masthead", - "version": "999.0.0-dev", + "version": "999.0.0-SNAPSHOT", "type": "module", "main": "./dist/keycloak-masthead.js", "types": "./dist/keycloak-masthead.d.ts", @@ -42,7 +42,7 @@ }, "dependencies": { "@patternfly/react-core": "^4.276.6", - "keycloak-js": "999.0.0-dev", + "keycloak-js": "999.0.0-SNAPSHOT", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/libs/ui-shared/package.json b/libs/ui-shared/package.json index b07251930f..f8a44be289 100644 --- a/libs/ui-shared/package.json +++ b/libs/ui-shared/package.json @@ -1,6 +1,6 @@ { "name": "ui-shared", - "version": "999.0.0-dev", + "version": "999.0.0-SNAPSHOT", "type": "module", "main": "./dist/ui-shared.js", "types": "./dist/ui-shared.d.ts", diff --git a/package-lock.json b/package-lock.json index e8ed4fc568..d1043ccf64 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,15 +41,15 @@ "@patternfly/react-icons": "^4.93.6", "i18next": "^22.4.10", "i18next-http-backend": "^2.1.1", - "keycloak-js": "999.0.0-dev", - "keycloak-masthead": "999.0.0-dev", + "keycloak-js": "999.0.0-SNAPSHOT", + "keycloak-masthead": "999.0.0-SNAPSHOT", "lodash-es": "^4.17.21", "react": "^18.2.0", "react-dom": "^18.2.0", "react-hook-form": "^7.43.1", "react-i18next": "^12.2.0", "react-router-dom": "6.8.2", - "ui-shared": "999.0.0-dev" + "ui-shared": "999.0.0-SNAPSHOT" }, "devDependencies": { "@types/lodash-es": "^4.17.6", @@ -62,7 +62,7 @@ }, "apps/admin-ui": { "dependencies": { - "@keycloak/keycloak-admin-client": "999.0.0-dev", + "@keycloak/keycloak-admin-client": "999.0.0-SNAPSHOT", "@patternfly/patternfly": "^4.224.2", "@patternfly/react-code-editor": "^4.82.113", "@patternfly/react-core": "^4.276.6", @@ -73,7 +73,7 @@ "flat": "^5.0.2", "i18next": "^22.4.10", "i18next-http-backend": "^2.1.1", - "keycloak-js": "999.0.0-dev", + "keycloak-js": "999.0.0-SNAPSHOT", "lodash-es": "^4.17.21", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -83,7 +83,7 @@ "react-i18next": "^12.2.0", "react-router-dom": "6.8.2", "reactflow": "^11.5.6", - "ui-shared": "999.0.0-dev", + "ui-shared": "999.0.0-SNAPSHOT", "use-react-router-breadcrumbs": "^4.0.1" }, "devDependencies": { @@ -118,7 +118,7 @@ }, "libs/keycloak-admin-client": { "name": "@keycloak/keycloak-admin-client", - "version": "999.0.0-dev", + "version": "999.0.0-SNAPSHOT", "license": "Apache-2.0", "dependencies": { "camelize-ts": "^2.3.0", @@ -141,7 +141,7 @@ } }, "libs/keycloak-js": { - "version": "999.0.0-dev", + "version": "999.0.0-SNAPSHOT", "license": "Apache-2.0", "dependencies": { "base64-js": "^1.5.1", @@ -158,10 +158,10 @@ } }, "libs/keycloak-masthead": { - "version": "999.0.0-dev", + "version": "999.0.0-SNAPSHOT", "dependencies": { "@patternfly/react-core": "^4.276.6", - "keycloak-js": "999.0.0-dev", + "keycloak-js": "999.0.0-SNAPSHOT", "react": "^18.2.0", "react-dom": "^18.2.0" }, @@ -176,7 +176,7 @@ } }, "libs/ui-shared": { - "version": "999.0.0-dev", + "version": "999.0.0-SNAPSHOT", "dependencies": { "@patternfly/react-core": "^4.267.6", "react": "^18.2.0",