Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect git tag already defined earlier #1178

Open
flip111 opened this issue Jan 22, 2024 · 0 comments
Open

Detect git tag already defined earlier #1178

flip111 opened this issue Jan 22, 2024 · 0 comments

Comments

@flip111
Copy link
Contributor

flip111 commented Jan 22, 2024

» spago publish
Reading Spago workspace configuration...

✅ Selecting package to build: foldable-traversable-extra

Downloading dependencies...
Building...
           Src   Lib   All
Warnings     0     0     0
Errors       0     0     0

✅ Build succeeded.

Your package "foldable-traversable-extra" is not ready for publishing yet, encountered 1 error:


❌ The git tree is not clean. Please commit or stash these files:
   M spago.yaml

» git commit
On branch main
Your branch is up to date with 'origin/main'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   spago.yaml

no changes added to commit (use "git add" and/or "git commit -a")
» git add .
» git commit
[main 2397e44] Fix repo name
 1 file changed, 1 insertion(+), 1 deletion(-)
» spago publish
Reading Spago workspace configuration...

✅ Selecting package to build: foldable-traversable-extra

Downloading dependencies...
Building...
           Src   Lib   All
Warnings     0     0     0
Errors       0     0     0

✅ Build succeeded.

Your package "foldable-traversable-extra" is not ready for publishing yet, encountered 2 errors:


❌ No git tag is currently checked out.
Please fix all other publishing-related errors before resolving this one. Prematurely creating and pushing a tag may lead to unpublishable tags.


❌ The expected tag (v0.0.4) has already been defined but is not checked out.
The publish config's `version` may need to be bumped to a newer version if it currently refers to a version that has already been published.

The very last warning The expected tag (v0.0.4) has already been defined could already be displayed earlier before the first commit because spago.yaml is already present

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant