From 7db94c804a7f410325e3d4f2d927f180e9da6933 Mon Sep 17 00:00:00 2001 From: Mike Solomon Date: Thu, 24 Oct 2024 08:18:37 -0700 Subject: [PATCH 1/2] Update pages.yml --- .github/workflows/pages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index f8bd6991..24001dae 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -1,5 +1,5 @@ # Simple workflow for deploying static content to GitHub Pages -name: Deploy plugin docs to Pages +name: Deploy Moderne docs to Pages on: workflow_dispatch: @@ -56,4 +56,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4 From a1a33738b8b29e92a6784950c4920c2a47254043 Mon Sep 17 00:00:00 2001 From: Mike Solomon Date: Thu, 24 Oct 2024 09:04:18 -0700 Subject: [PATCH 2/2] Fix CLI version --- releases/cli-releases.md | 2 +- .../moderne-cli/getting-started/cli-intro.md | 14 +++++++------- .../how-to-guides/air-gapped-cli-install.md | 2 +- .../how-to-guides/jdk-selection-and-config.md | 2 +- user-documentation/workshops/air-gapped-cli.md | 10 +++++----- .../workshops/moderne-cli-exercise.md | 18 +++++++++--------- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/releases/cli-releases.md b/releases/cli-releases.md index e4ce91f7..ccff557b 100644 --- a/releases/cli-releases.md +++ b/releases/cli-releases.md @@ -3,6 +3,6 @@ | Component | Current version | | --------------------- | --------------- | | CLI version (Stable) | 3.20.8 | -| CLI version (Staging) | 1.0.3225 | +| CLI version (Staging) | 3.24.6 | * [Moderne CLI reference docs](../user-documentation/moderne-cli/cli-reference.md) diff --git a/user-documentation/moderne-cli/getting-started/cli-intro.md b/user-documentation/moderne-cli/getting-started/cli-intro.md index 766e89bf..16201496 100644 --- a/user-documentation/moderne-cli/getting-started/cli-intro.md +++ b/user-documentation/moderne-cli/getting-started/cli-intro.md @@ -33,7 +33,7 @@ If everything was configured correctly, you should be able to type `mod` into yo ```bash ➜ mod -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 Usage: @@ -157,7 +157,7 @@ cd $HOME/workshop You should see output similar to the following. ```bash -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Cloning organization from Moderne @@ -238,7 +238,7 @@ mod build . --download-only You should see output similar to the following. ```bash -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Selecting repositories @@ -375,7 +375,7 @@ mod run . --recipe DependencyVulnerabilityCheck You should see output similar to the following. ```bash -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Selecting repositories @@ -499,7 +499,7 @@ mod study . --last-recipe-run --data-table VulnerabilityReport You should see output similar to the following. ```bash -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 Found recipe run 20240904083238-wRnHo @@ -606,7 +606,7 @@ mod run . --recipe CommonStaticAnalysis You should see output similar to the following. ```bash -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Selecting repositories @@ -691,7 +691,7 @@ mod git checkout . -b workshop-changes --last-recipe-run You should see output similar to the following. ```bash -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 Found recipe run 20240904084031-xdbaB diff --git a/user-documentation/moderne-cli/how-to-guides/air-gapped-cli-install.md b/user-documentation/moderne-cli/how-to-guides/air-gapped-cli-install.md index c6b41b7e..5b6122a3 100644 --- a/user-documentation/moderne-cli/how-to-guides/air-gapped-cli-install.md +++ b/user-documentation/moderne-cli/how-to-guides/air-gapped-cli-install.md @@ -51,7 +51,7 @@ If everything was configured correctly, you should be able to type `mod` into yo ```bash ➜ mod -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 Usage: diff --git a/user-documentation/moderne-cli/how-to-guides/jdk-selection-and-config.md b/user-documentation/moderne-cli/how-to-guides/jdk-selection-and-config.md index a60662fe..e590c414 100644 --- a/user-documentation/moderne-cli/how-to-guides/jdk-selection-and-config.md +++ b/user-documentation/moderne-cli/how-to-guides/jdk-selection-and-config.md @@ -31,7 +31,7 @@ mod config java jdk list ```shell ➜ moderne-cli git:(main) ✗ mod config java jdk list -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Listing available JDKs diff --git a/user-documentation/workshops/air-gapped-cli.md b/user-documentation/workshops/air-gapped-cli.md index f043a323..6f1f5304 100644 --- a/user-documentation/workshops/air-gapped-cli.md +++ b/user-documentation/workshops/air-gapped-cli.md @@ -162,7 +162,7 @@ Here is what the results look like if everything ran correctly: ```bash ➜ mod git clone csv ./spring-data repos.csv --filter=tree:0 -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Reading CSV file @@ -200,7 +200,7 @@ Notice that you didn't need to configure Maven or Gradle, select Java versions, ```bash ➜ mod build ./spring-data -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Selecting repositories @@ -255,7 +255,7 @@ To view the diff, you can command + click on the file (or ctrl + click if on Win ```bash ➜ mod run ./spring-data --recipe CommonStaticAnalysis -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Selecting repositories @@ -329,7 +329,7 @@ MOD SUCCEEDED in (2m 6s) ```bash ➜ mod run ./spring-data --recipe UpgradeToJava17 -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Selecting repositories @@ -422,7 +422,7 @@ You should see: ```bash ➜ mod study ./spring-data --last-recipe-run --data-table SourcesFileResults -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 Found recipe run 20240430092847-434iK diff --git a/user-documentation/workshops/moderne-cli-exercise.md b/user-documentation/workshops/moderne-cli-exercise.md index 743788a0..2c0ff8ec 100644 --- a/user-documentation/workshops/moderne-cli-exercise.md +++ b/user-documentation/workshops/moderne-cli-exercise.md @@ -23,7 +23,7 @@ After that, we'll provide some additional examples that show other capabilities ``` ➜ mod -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 Usage: @@ -101,7 +101,7 @@ mod config recipes moderne install UpgradeSpringBoot_3_2 ```shell ➜ mod config recipes moderne install UpgradeSpringBoot_3_2 -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 [1] Migrate to Spring Boot 3.2 [2] Migrate to Spring Boot 3.1 @@ -190,7 +190,7 @@ mod build $HOME/workshop You should see output similar to the following. ```bash -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Selecting repositories @@ -244,7 +244,7 @@ You can preview the changes by command/ctrl clicking on the patch file generated ```bash ➜ ~ mod run $HOME/workshop --recipe UpgradeSpringBoot_3_2 -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Selecting repositories @@ -309,7 +309,7 @@ mod git clone moderne . "Default" You should see output similar to the following. ```bash -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Listing repositories from Moderne @@ -349,7 +349,7 @@ mod build . You should see output similar to the following. ```bash -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Selecting repositories @@ -468,7 +468,7 @@ mod run . --recipe UpgradeToJava17 You should see results similar to the following ```bash -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Selecting repositories @@ -555,7 +555,7 @@ mod study . --last-recipe-run --data-table SourcesFileResults You should see results similar to the following. ```bash -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 Found recipe run 20240429093354-reHx5 @@ -657,7 +657,7 @@ mod run . --recipe org.openrewrite.staticanalysis.CommonStaticAnalysis You should see results similar to: ```bash -Moderne CLI 1.0.3225 +Moderne CLI 3.24.6 > Selecting repositories