You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cli/src/main/java/com/devonfw/tools/ide/commandlet/ReleaseCommandlet.java
+10-9Lines changed: 10 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@
4
4
importjava.nio.file.Path;
5
5
importjava.util.ArrayList;
6
6
importjava.util.List;
7
-
importjava.util.concurrent.locks.ReentrantLock;
8
7
9
8
importorg.slf4j.Logger;
10
9
importorg.slf4j.LoggerFactory;
@@ -51,13 +50,13 @@ protected void doRun() {
51
50
GitContextgit = this.context.getGitContext();
52
51
53
52
if (git.hasUntrackedFiles(projectPath)) {
54
-
thrownewCliException("Your local git repository has uncommitted changes. Please use 'git stash' and rerun on a clean repository.");
53
+
thrownewCliException("Your local git repository has uncommitted changes. Please use 'git stash' and rerun on clean repo.");
55
54
}
56
55
if (warnIfFork(git, projectPath)) {
57
56
confirmWarning("You seem to work on a fork. Releases should be done on the original repository!\nWe strongly recommend to abort and rerun on original repository.");
58
57
}
59
58
if (!this.context.isForceMode() && !isTopLevelProject(projectPath)) {
60
-
thrownewCliException("Release has to be performed from the top-level project or using the force option (-f).");
59
+
thrownewCliException("Release has to be performed from the top-level project or using force option.");
Copy file name to clipboardExpand all lines: cli/src/main/resources/nls/Help.properties
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@ cmd.python.detail=Python is an object-oriented programming language, comparable
112
112
cmd.quarkus=Tool commandlet for Quarkus (framework for cloud-native apps).
113
113
cmd.quarkus.detail=Quarkus is a Kubernetes-native Java framework for building cloud-native applications. Detailed documentation can be found at https://quarkus.io/
114
114
cmd.release=Performs a release of the project in your current working directory.
115
-
cmd.release.detail=The `release` commandlet automates a release of the project in your current working directory. It ensures there are no uncommitted changes, warns if you work on a fork, determines the current version of your project and derives the release version and the next development (SNAPSHOT) version for you to confirm. It then sets the release version, commits and tags it via git (as `release/«version»`), builds and deploys the project, sets the next development version, commits, and (after your confirmation) pushes the changes and the tag. Build and deploy options can be configured per build-system via the variable `<TOOL>_RELEASE_OPTS` (e.g. `MVN_RELEASE_OPTS`). You may also supply additional arguments as `ide release «args»` that will be passed to the detected build command.
115
+
cmd.release.detail=The `release` commandlet automates a release of the project in your current working directory. It ensures there are no uncommitted changes, warns if you work on a fork, determines the current version of your project and derives the release version and the next development (SNAPSHOT) version for you to confirm. It then sets the release version, commits and tags it via git (as `release/«version»`), builds and deploys the project, sets the next development version, commits, and (after your confirmation) pushes the changes and the tag. Build and deploy options can be configured via the variable `MVN_RELEASE_OPTS` (default `clean deploy -Dchangelist= -Pdeploy`). You may also supply additional arguments as `ide release «args»` that will be passed to the maven build command.
116
116
cmd.release.val.args=Additional arguments to pass to the build and deploy command.
117
117
cmd.repository=Set up pre-configured git repositories using 'ide repository setup <repository>'
118
118
cmd.repository.detail=Without further arguments this will set up all pre-configured git repositories.\nAlso, you can provide an explicit git repo as `<repository>` argument and IDEasy will automatically clone, build and set up your project based on the existing property file.\nRepositories are configured in 'settings/repository/<repository>.properties' and can therefore be shared with your project team for automatic or optional setup.
Copy file name to clipboardExpand all lines: cli/src/main/resources/nls/Help_de.properties
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@ cmd.python.detail=Python ist eine objektorientierte Programmiersprache, vergleic
112
112
cmd.quarkus=Werkzeug Kommando für Quarkus (Framework für Cloud-native Anwendungen).
113
113
cmd.quarkus.detail=Quarkus ist ein Kubernetes-native Java-Framework zur Entwicklung von Cloud-native Anwendungen. Detaillierte Dokumentation ist zu finden unter https://quarkus.io/
114
114
cmd.release=Führt ein Release des Projekts in Ihrem aktuellen Arbeitsverzeichnis durch.
115
-
cmd.release.detail=Der `release`-Befehl automatisiert ein Release des Projekts in Ihrem aktuellen Arbeitsverzeichnis. Er stellt sicher, dass keine uncommitteten Änderungen vorliegen, warnt wenn Sie auf einem Fork arbeiten, ermittelt die aktuelle Version Ihres Projekts und leitet daraus die Release-Version sowie die nächste Entwicklungsversion (SNAPSHOT) zur Bestätigung ab. Anschließend setzt er die Release-Version, committet und taggt sie via git (als `release/«version»`), baut und veröffentlicht das Projekt, setzt die nächste Entwicklungsversion, committet und pusht nach Ihrer Bestätigung die Änderungen und den Tag. Build- und Deploy-Optionen können pro Build-System über die Variable `<TOOL>_RELEASE_OPTS` (z. B. `MVN_RELEASE_OPTS`) konfiguriert werden. Sie können auch zusätzliche Argumente wie `ide release «args»` angeben, die an den erkannten Build-Befehl weitergeleitet werden.
115
+
cmd.release.detail=Der `release`-Befehl automatisiert ein Release des Projekts in Ihrem aktuellen Arbeitsverzeichnis. Er stellt sicher, dass keine uncommitteten Änderungen vorliegen, warnt wenn Sie auf einem Fork arbeiten, ermittelt die aktuelle Version Ihres Projekts und leitet daraus die Release-Version sowie die nächste Entwicklungsversion (SNAPSHOT) zur Bestätigung ab. Anschließend setzt er die Release-Version, committet und taggt sie via git (als `release/«version»`), baut und veröffentlicht das Projekt, setzt die nächste Entwicklungsversion, committet und pusht nach Ihrer Bestätigung die Änderungen und den Tag. Build- und Deploy-Optionen können über die Variable `MVN_RELEASE_OPTS` (Standard `clean deploy -Dchangelist= -Pdeploy`) konfiguriert werden. Sie können auch zusätzliche Argumente wie `ide release «args»` angeben, die an den Maven-Build-Befehl weitergeleitet werden.
116
116
cmd.release.val.args=Zusätzliche Argumente, die an den Build- und Deploy-Befehl übergeben werden.
117
117
cmd.repository=Richtet das vorkonfigurierte Git Repository ein mittels 'ide repository setup <repository>'.
118
118
cmd.repository.detail=Dies wird alle vorkonfigurierten Repositories einrichten. Rufen Sie einfach 'ide repository setup <your_project_name>' auf, ersetzen Sie <your_project_name> durch den Namen Ihrer Projektkonfigurationsdatei, die sich in 'settings/repository/your_project_name' befindet und IDEasy wird Ihr Projekt basierend auf der vorhandenen Eigenschaftsdatei automatisch klonen, bauen und einrichten.\nWenn Sie den Projektnamen weglassen, werden alle im Repository-Verzeichnis gefundenen Projekte vorkonfiguriert.
0 commit comments