Giter VIP home page Giter VIP logo

Comments (7)

chriswahl avatar chriswahl commented on July 19, 2024

I'll look into item 1. The version wasn't pushed into the Gallery for use, more so just to hold the name.

I believe item 2 is as expected. I don't have version folders for modules with only one version installed. Once there are multiple versions, there are version folders.

from vester.

equelin avatar equelin commented on July 19, 2024

You're right for 1. Only the module has to be published on the gallery.

Oddly I always have a version folder even if I install only one version of a module or the module as only one version available on the gallery...

It make me think that we should think about an automated release pipeline that will not mess things up when releases on the gallery.... I'm currently working on that on another project (https://github.com/equelin/Unity-Powershell). I hope to be able to show something soon !

from vester.

chriswahl avatar chriswahl commented on July 19, 2024

@equelin There's no option to choose which folders to publish into the gallery. My typical process is to import the module and then publish it, and that only brings in the module folder itself ... I dunno why the Publish-Module cmdlet decided to put more in there than required (most likely we need to double check the manifest).

from vester.

equelin avatar equelin commented on July 19, 2024

@chriswahl Instead of importing the module then publishing it you need to go to the Vester git repository on your computer and export the module's folder

cd  C:\Code\GitHub\Vester
Publish-Module -Name .\Vester -NuGetApiKey <apiKey>

Let me kwnow if it helps. Sometimes it's hard for me to provide explanations in english...

from vester.

brianbunke avatar brianbunke commented on July 19, 2024

While setting up a build release pipeline on a personal repo, I found that you can do

Publish-Module -Path .\Vester -NuGetApiKey <apiKey>

-Name isn't required if you just give the direct path instead, which was a welcome discovery to me (same situation, top-level GitHub crap).

Side note: I got really frustrated with the cmdlet help for the PowerShellGet commands while working on that. Not the easiest area to navigate.

from vester.

chriswahl avatar chriswahl commented on July 19, 2024

I've published Vester version 1.0.1 to the PowerShell Gallery. It seems to be working on my test workstation. Anyone else confirm so I can close this issue?

from vester.

brianbunke avatar brianbunke commented on July 19, 2024

Working here 👍

from vester.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.