Albacore / albacore

Albacore is a professional quality suite of Rake tasks for building .NET or Mono based systems.
www.albacorebuild.net
221 stars 64 forks source link

Releasing nuget packages without using versionizer? #197

Closed AMoghrabi closed 8 years ago

AMoghrabi commented 8 years ago

Is it possible to use the :release task without using the versionizer task? We have our scripts configured to pick up the :build_number from Team City so the .semver file is not necessary to have in our case. I would also like to avoid having to add a dependency (semver gem).

Thanks for the help.

haf commented 8 years ago

Yes, just override :depend_on - https://github.com/Albacore/albacore/blob/master/lib/albacore/tasks/release.rb#L44

The semver gem is my creation, and I can promise you it's semantically versioned and stable ;)

What is uses from the Versionizer and hence the semver gem is this code so it's just using the formatting logic.

In summary: