@tahminator/pipeline 1.0.77-beta.8b09f91a → 1.0.77

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.
@@ -83,8 +83,7 @@ export class VersioningClient {
83
83
  async nextBeta(sha, ...opts) {
84
84
  const latestTag = await this.githubClient.getLatestTag(...opts);
85
85
  if (!latestTag) {
86
- console.warn("No latest tag yet. You should upload a tag atleast once before generating a beta tag. Defaulting to `1.0.0-beta.${sha}`");
87
- return `1.0.0-beta.${sha}`;
86
+ throw new Error("You must upload a tag atleast once before generating a beta tag.");
88
87
  }
89
88
  const latest = this.parseOrThrow("latest tag from github", latestTag);
90
89
  return `${latest.toString()}-beta.${sha}`;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "author": "Tahmid Ahmed",
5
5
  "description": "A collection of Bun shell scripts that can be re-used in various CICD pipelines.",
6
- "version": "1.0.77-beta.8b09f91a",
6
+ "version": "1.0.77",
7
7
  "repository": {
8
8
  "url": "git+https://github.com/tahminator/pipeline.git"
9
9
  },