Giter Site home page Giter Site logo

Comments (4)

RamblingCookieMonster avatar RamblingCookieMonster commented on August 16, 2024

Hi Erwan!

Yep, you can kill that piece if you'd like, it's set here in the psake build task. I kept forgetting to bump things, ended up just having it automatically bump based on existing gallery version.

Cheers!

from psdeploy.

equelin avatar equelin commented on August 16, 2024

Hi Warren !
Thx for your reply! So I just have to remove those lines, right?
I'm not sure to understand where those functions comes from? (Get-NextPSGalleryVersion, Update-Metadata)

from psdeploy.

RamblingCookieMonster avatar RamblingCookieMonster commented on August 16, 2024

Ahh, so those are part of BuildHelpers - basically a bunch of little functions that might come in handy for a PowerShell-oriented build.

If you just kill that whole Try/Catch, it won't mess with the version in the PSD1. Also, note the Set-ModuleFunctions bit right above - that imports your module during the build, reads exported functions, sets these in the psd1 - might not be desired (personally I leave psd1 FunctionsToExport = '*', and let this update in the build, so I don't need to add new public functions manually, but... I might just be lazy).

Side note: Update-Metadata is exposed through BuildHelpers, but is really from Joel Bennett's awesome Configuration module - for whatever reason, publishing with that as a RequiredModule failed things in AppVeyor, so it's just hard coded into the BuildHelpers module now.

Cheers!

from psdeploy.

equelin avatar equelin commented on August 16, 2024

Thanks for your explanations Warren !

from psdeploy.

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.