aerys / gpm

Git-based Package Manager.
MIT License
235 stars 14 forks source link

Push more then one packages at once? #4

Closed pwFoo closed 4 years ago

pwFoo commented 4 years ago

Hi, is it needed to push each single package because of the tag? I haven't much experience with git and haven't worked with tags before.

JMLX42 commented 4 years ago

is it needed to push each single package because of the tag?

Just create a commit/tag for each package release:

git commit ${PACKAGE}/${PACKAGE}.tar.gz -m "Publish ${PACKAGE} version ${VERSION}."
git tag ${PACKAGE}/${VERSION}

and then push everything:

git push
git push --tags
pwFoo commented 4 years ago

Hi, so single push is ok, but each package release needs it's own commit + tag. So release 3 packages needs 3 commits, 3 tags and 1 push / push tags.

Thanks!