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

Prepare for publishing #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

TorNATO-PRO
Copy link
Contributor

@TorNATO-PRO TorNATO-PRO commented Oct 16, 2023

Hi @paldepind.

In response to your question on how to publish this on the spago registry - please follow the following steps:

You can either:

  1. Give me tagging perms on this purescript-rrb-list project and I'll handle the rest (as far as I know I think that's all that's needed, but I might need to ask for more permissions if that turns out not to be the case).

(I am going by the wisdom from this error message)

Your package "rrb-list" is not ready for publishing yet, encountered 1 error:


❌ The git tree is not clean, or you haven't checked out the tag you want to publish.
Please commit or stash your changes, and checkout the tag you want to publish.
To create the tag, you can run:
  git tag v1.0.0

Or

  1. Accept this PR (apparently there was an even newer version of spago that I wasn't aware of.
  2. Run yarn install to install the devDependencies.
  3. Tag the master branch with the version, and make sure that is reflected in the publish version in the spago.yaml.
  4. Run yarn run spago publish and then it should be all nice and uploaded!
package:
  name: rrb-list
  dependencies:
    - control: ">=6.0.0 <7.0.0"
    - foldable-traversable: ">=6.0.0 <7.0.0"
    - functions: ">=6.0.0 <7.0.0"
    - maybe: ">=6.0.0 <7.0.0"
    - nonempty: ">=7.0.0 <8.0.0"
    - partial: ">=4.0.0 <5.0.0"
    - prelude: ">=6.0.1 <7.0.0"
    - tailrec: ">=6.1.0 <7.0.0"
    - tuples: ">=7.0.0 <8.0.0"
    - unfoldable: ">=6.0.0 <7.0.0"
  build:
    pedantic_packages: true
    strict: true
  test:
    dependencies:
      - aff
      - arrays
      - effect
      - arrays
      - profunctor-lenses
      - quickcheck
      - spec
    main: Test.Main
    strict: true
  publish:
    version: 1.0.0 -- replace this with the tag that you tag on the branch
    license: MIT
    location:
      githubOwner: funkia
      githubRepo: "purescript-rrb-list"
workspace:
  extra_packages: {}
  package_set:
    registry: 43.1.0

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

Successfully merging this pull request may close these issues.

1 participant