Use a valid SemVer format for the SNAPSHOT version (#4489)

This commit is contained in:
Jon Koops 2023-03-03 11:11:55 +01:00 committed by GitHub
parent 984f9f8c5d
commit d331fd359c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 30 additions and 30 deletions

View file

@ -52,13 +52,13 @@ jobs:
working-directory: keycloak-repo working-directory: keycloak-repo
run: | run: |
mvn clean install --no-snapshot-updates --batch-mode --errors -DskipTests -DskipCommon -DskipAccount2 -Pdistribution 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 - name: Upload Keycloak server
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: keycloak name: keycloak
path: keycloak-999-SNAPSHOT.tar.gz path: keycloak-999.0.0-SNAPSHOT.tar.gz
install-nightly: install-nightly:
if: ${{ github.event_name == 'schedule' }} if: ${{ github.event_name == 'schedule' }}
@ -69,13 +69,13 @@ jobs:
- name: Download Keycloak - name: Download Keycloak
id: extract-server id: extract-server
run: | 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 - name: Upload Keycloak server
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: keycloak name: keycloak
path: keycloak-999-SNAPSHOT.tar.gz path: keycloak-999.0.0-SNAPSHOT.tar.gz
test: test:
needs: [build-keycloak, install-nightly] needs: [build-keycloak, install-nightly]
@ -113,8 +113,8 @@ jobs:
- name: Start Keycloak Server - name: Start Keycloak Server
run: | run: |
tar xfvz keycloak-999-SNAPSHOT.tar.gz tar xfvz keycloak-999.0.0-SNAPSHOT.tar.gz
keycloak-999-SNAPSHOT/bin/kc.sh start-dev --features=admin2,admin-fine-grained-authz,declarative-user-profile &> ~/server.log & keycloak-999.0.0-SNAPSHOT/bin/kc.sh start-dev --features=admin2,admin-fine-grained-authz,declarative-user-profile &> ~/server.log &
env: env:
KEYCLOAK_ADMIN: admin KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin KEYCLOAK_ADMIN_PASSWORD: admin

View file

@ -12,15 +12,15 @@
"@patternfly/react-icons": "^4.93.6", "@patternfly/react-icons": "^4.93.6",
"i18next": "^22.4.10", "i18next": "^22.4.10",
"i18next-http-backend": "^2.1.1", "i18next-http-backend": "^2.1.1",
"keycloak-js": "999.0.0-dev", "keycloak-js": "999.0.0-SNAPSHOT",
"keycloak-masthead": "999.0.0-dev", "keycloak-masthead": "999.0.0-SNAPSHOT",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-hook-form": "^7.43.1", "react-hook-form": "^7.43.1",
"react-i18next": "^12.2.0", "react-i18next": "^12.2.0",
"react-router-dom": "6.8.2", "react-router-dom": "6.8.2",
"ui-shared": "999.0.0-dev" "ui-shared": "999.0.0-SNAPSHOT"
}, },
"devDependencies": { "devDependencies": {
"@types/lodash-es": "^4.17.6", "@types/lodash-es": "^4.17.6",

View file

@ -67,7 +67,7 @@
} }
}, },
"dependencies": { "dependencies": {
"@keycloak/keycloak-admin-client": "999.0.0-dev", "@keycloak/keycloak-admin-client": "999.0.0-SNAPSHOT",
"@patternfly/patternfly": "^4.224.2", "@patternfly/patternfly": "^4.224.2",
"@patternfly/react-code-editor": "^4.82.113", "@patternfly/react-code-editor": "^4.82.113",
"@patternfly/react-core": "^4.276.6", "@patternfly/react-core": "^4.276.6",
@ -78,7 +78,7 @@
"flat": "^5.0.2", "flat": "^5.0.2",
"i18next": "^22.4.10", "i18next": "^22.4.10",
"i18next-http-backend": "^2.1.1", "i18next-http-backend": "^2.1.1",
"keycloak-js": "999.0.0-dev", "keycloak-js": "999.0.0-SNAPSHOT",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
@ -88,7 +88,7 @@
"react-i18next": "^12.2.0", "react-i18next": "^12.2.0",
"react-router-dom": "6.8.2", "react-router-dom": "6.8.2",
"reactflow": "^11.5.6", "reactflow": "^11.5.6",
"ui-shared": "999.0.0-dev", "ui-shared": "999.0.0-SNAPSHOT",
"use-react-router-breadcrumbs": "^4.0.1" "use-react-router-breadcrumbs": "^4.0.1"
}, },
"devDependencies": { "devDependencies": {

View file

@ -67,7 +67,7 @@ async function getNightlyAsset() {
}); });
return release.data.assets.find( return release.data.assets.find(
({ name }) => name === "keycloak-999-SNAPSHOT.tar.gz" ({ name }) => name === "keycloak-999.0.0-SNAPSHOT.tar.gz"
); );
} }

View file

@ -21,7 +21,7 @@
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<artifactId>keycloak-admin-ui</artifactId> <artifactId>keycloak-admin-ui</artifactId>
<version>999-SNAPSHOT</version> <version>999.0.0-SNAPSHOT</version>
<name>Keycloak Administration UI</name> <name>Keycloak Administration UI</name>
<description>Keycloak Administration UI</description> <description>Keycloak Administration UI</description>

View file

@ -1,6 +1,6 @@
{ {
"name": "@keycloak/keycloak-admin-client", "name": "@keycloak/keycloak-admin-client",
"version": "999.0.0-dev", "version": "999.0.0-SNAPSHOT",
"description": "keycloak admin client", "description": "keycloak admin client",
"type": "module", "type": "module",
"main": "lib/index.js", "main": "lib/index.js",

View file

@ -1,6 +1,6 @@
{ {
"name": "keycloak-js", "name": "keycloak-js",
"version": "999.0.0-dev", "version": "999.0.0-SNAPSHOT",
"description": "Keycloak Adapter", "description": "Keycloak Adapter",
"main": "./dist/keycloak.js", "main": "./dist/keycloak.js",
"module": "./dist/keycloak.mjs", "module": "./dist/keycloak.mjs",

View file

@ -1,6 +1,6 @@
{ {
"name": "keycloak-masthead", "name": "keycloak-masthead",
"version": "999.0.0-dev", "version": "999.0.0-SNAPSHOT",
"type": "module", "type": "module",
"main": "./dist/keycloak-masthead.js", "main": "./dist/keycloak-masthead.js",
"types": "./dist/keycloak-masthead.d.ts", "types": "./dist/keycloak-masthead.d.ts",
@ -42,7 +42,7 @@
}, },
"dependencies": { "dependencies": {
"@patternfly/react-core": "^4.276.6", "@patternfly/react-core": "^4.276.6",
"keycloak-js": "999.0.0-dev", "keycloak-js": "999.0.0-SNAPSHOT",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0" "react-dom": "^18.2.0"
}, },

View file

@ -1,6 +1,6 @@
{ {
"name": "ui-shared", "name": "ui-shared",
"version": "999.0.0-dev", "version": "999.0.0-SNAPSHOT",
"type": "module", "type": "module",
"main": "./dist/ui-shared.js", "main": "./dist/ui-shared.js",
"types": "./dist/ui-shared.d.ts", "types": "./dist/ui-shared.d.ts",

22
package-lock.json generated
View file

@ -41,15 +41,15 @@
"@patternfly/react-icons": "^4.93.6", "@patternfly/react-icons": "^4.93.6",
"i18next": "^22.4.10", "i18next": "^22.4.10",
"i18next-http-backend": "^2.1.1", "i18next-http-backend": "^2.1.1",
"keycloak-js": "999.0.0-dev", "keycloak-js": "999.0.0-SNAPSHOT",
"keycloak-masthead": "999.0.0-dev", "keycloak-masthead": "999.0.0-SNAPSHOT",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-hook-form": "^7.43.1", "react-hook-form": "^7.43.1",
"react-i18next": "^12.2.0", "react-i18next": "^12.2.0",
"react-router-dom": "6.8.2", "react-router-dom": "6.8.2",
"ui-shared": "999.0.0-dev" "ui-shared": "999.0.0-SNAPSHOT"
}, },
"devDependencies": { "devDependencies": {
"@types/lodash-es": "^4.17.6", "@types/lodash-es": "^4.17.6",
@ -62,7 +62,7 @@
}, },
"apps/admin-ui": { "apps/admin-ui": {
"dependencies": { "dependencies": {
"@keycloak/keycloak-admin-client": "999.0.0-dev", "@keycloak/keycloak-admin-client": "999.0.0-SNAPSHOT",
"@patternfly/patternfly": "^4.224.2", "@patternfly/patternfly": "^4.224.2",
"@patternfly/react-code-editor": "^4.82.113", "@patternfly/react-code-editor": "^4.82.113",
"@patternfly/react-core": "^4.276.6", "@patternfly/react-core": "^4.276.6",
@ -73,7 +73,7 @@
"flat": "^5.0.2", "flat": "^5.0.2",
"i18next": "^22.4.10", "i18next": "^22.4.10",
"i18next-http-backend": "^2.1.1", "i18next-http-backend": "^2.1.1",
"keycloak-js": "999.0.0-dev", "keycloak-js": "999.0.0-SNAPSHOT",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
@ -83,7 +83,7 @@
"react-i18next": "^12.2.0", "react-i18next": "^12.2.0",
"react-router-dom": "6.8.2", "react-router-dom": "6.8.2",
"reactflow": "^11.5.6", "reactflow": "^11.5.6",
"ui-shared": "999.0.0-dev", "ui-shared": "999.0.0-SNAPSHOT",
"use-react-router-breadcrumbs": "^4.0.1" "use-react-router-breadcrumbs": "^4.0.1"
}, },
"devDependencies": { "devDependencies": {
@ -118,7 +118,7 @@
}, },
"libs/keycloak-admin-client": { "libs/keycloak-admin-client": {
"name": "@keycloak/keycloak-admin-client", "name": "@keycloak/keycloak-admin-client",
"version": "999.0.0-dev", "version": "999.0.0-SNAPSHOT",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"camelize-ts": "^2.3.0", "camelize-ts": "^2.3.0",
@ -141,7 +141,7 @@
} }
}, },
"libs/keycloak-js": { "libs/keycloak-js": {
"version": "999.0.0-dev", "version": "999.0.0-SNAPSHOT",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"base64-js": "^1.5.1", "base64-js": "^1.5.1",
@ -158,10 +158,10 @@
} }
}, },
"libs/keycloak-masthead": { "libs/keycloak-masthead": {
"version": "999.0.0-dev", "version": "999.0.0-SNAPSHOT",
"dependencies": { "dependencies": {
"@patternfly/react-core": "^4.276.6", "@patternfly/react-core": "^4.276.6",
"keycloak-js": "999.0.0-dev", "keycloak-js": "999.0.0-SNAPSHOT",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0" "react-dom": "^18.2.0"
}, },
@ -176,7 +176,7 @@
} }
}, },
"libs/ui-shared": { "libs/ui-shared": {
"version": "999.0.0-dev", "version": "999.0.0-SNAPSHOT",
"dependencies": { "dependencies": {
"@patternfly/react-core": "^4.267.6", "@patternfly/react-core": "^4.267.6",
"react": "^18.2.0", "react": "^18.2.0",