ezyang/git-ftp

Working with tags (idea)

Janghou opened this issue · 3 comments

Dunno if it's possible tot let git-ftp be triggered by tags instead of branches.

Somehow it feels more logic to roll-out tagged versions to ftp-servers in a production environment: put version 2.0 on FTP.

But it should be optional, because you don't want it for developing.

I think there's too much risk of a local tag / throwaway tag to really want something automatic.

Well, the idea is that it should only be triggered by certain (prefixed) tags like ftp-version 1 or, ftp-version 2 and not all tags,

Something like in ftp-data like"
ftp-version* instead of branch name.

I sometimes do git tag 1.0 and at some point or directly after that git ftp -r 1.0, although -r 1.0 is optional, when it is HEAD anyway. Am I getting it right, that you are suggesting to make this a single command?