@eclipse-docks/cli 0.7.127 → 0.7.132

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -23,6 +23,9 @@ to `origin` first. The tag message body becomes the GitHub Release notes.
23
23
  Wire release in CI with [`.github/workflows/app-release.yml`](../../.github/workflows/app-release.yml):
24
24
  downstream apps usually trigger it on `v*` tag push; this monorepo waits for a green
25
25
  **CI** run on `main` first (see [`.github/workflows/release.yml`](../../.github/workflows/release.yml)).
26
+ If CI fails after the tag was pushed, that workflow deletes the orphan remote tag so
27
+ GitHub Release history has no gaps. Remove the local tag before retrying:
28
+ `git tag -d vX.Y.Z`.
26
29
 
27
30
  The last version is the most recent `vX.Y.Z` tag reachable from `HEAD` (via
28
31
  `git describe`), not the highest semver tag in the repository. That drives the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclipse-docks/cli",
3
- "version": "0.7.127",
3
+ "version": "0.7.132",
4
4
  "description": "Developer CLI for Eclipse Docks apps (release automation and more)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -220,6 +220,8 @@ export async function release(argv, cwd = process.cwd()) {
220
220
  if (opts.push) {
221
221
  git(['push', 'origin', version], cwd);
222
222
  console.log(`\nPushed tag ${version}. Release runs after CI succeeds on main.`);
223
+ console.log('If CI fails, the remote tag is removed automatically; delete your local tag before retrying:');
224
+ console.log(` git tag -d ${version}`);
223
225
  } else {
224
226
  console.log(`\nCreated annotated tag ${version}. Push your branch and tag to trigger the release:`);
225
227
  const branch = currentBranch(cwd);