fsprojects / fsprojects/Paket

[Feature request] Let paket CLI return package version.

Open
#3,941 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

These days project file contains properties which relates to Nu-Get packaging. Among those properties there is element.

In most cases of CI/CD we need to increment minor part or add some other suffix to the version. Hence, it would be nice if dotnet paket pack could return the value of element for further transformation.

ex: Project contains 1.2 and dotnet paket pack --get-package-version returns 1.2, so I can simply add .$CI_PIPELINE_IID to get the version of the package for packing and publishing.

This is almost word by word copy of this issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the dotnet paket pack CLI entry point and trace how the project file's Version element is read. Define the command output for a project containing 1.2, then verify that the returned value can be used by the CI/CD packaging flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
build-system, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.