forgecraft 2.0.0 → 2.0.1

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.
@@ -1824,7 +1824,11 @@ var GitManager = class {
1824
1824
  }
1825
1825
  // ── Tag Operations ────────────────────────────────────────
1826
1826
  async tag(name) {
1827
- await this.git.addTag(name);
1827
+ try {
1828
+ await this.git.addTag(name);
1829
+ } catch {
1830
+ await this.git.raw(["tag", "-f", name]);
1831
+ }
1828
1832
  }
1829
1833
  async listTags() {
1830
1834
  const result = await this.git.tags();
@@ -7045,4 +7049,4 @@ export {
7045
7049
  validateConfig,
7046
7050
  loadAndValidateConfig
7047
7051
  };
7048
- //# sourceMappingURL=chunk-U6CZUA5R.js.map
7052
+ //# sourceMappingURL=chunk-TXQBI725.js.map