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

Different sets of versions #8

Open
franiglesias opened this issue Jul 31, 2018 · 1 comment
Open

Different sets of versions #8

franiglesias opened this issue Jul 31, 2018 · 1 comment
Labels
enhancement New feature or request
Projects

Comments

@franiglesias
Copy link
Owner

what about different sets of versions: for example there is one package in more versions lets say:
v2.3.0 and v2.4.0, and you want to create patch v2.3.1

@franiglesias franiglesias added the enhancement New feature or request label Jul 31, 2018
@pkristian
Copy link
Collaborator

I have it!

git log \
    --oneline \
    --decorate=short \
    --format="%D" \
    --single-worktree \
|   sed 's/, /\n/g' \
|   grep '^tag: '    \
|   sed 's/tag: //'       \
|   grep "^v[0-9]*\.[0-9]*\.[0-9]*$" \
|   head -1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
versiontag
  
To do
Development

No branches or pull requests

2 participants