You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have mina git tag the local repository after a successful deploy. This would make it easier to track deploys and differences between them.
The text was updated successfully, but these errors were encountered:
desc"Checks out the current release tag"task:checkout_releasedoqueue%[git clone -b "#{branch}" "#{repository}" .]queue'git fetch'# Read the latest tag an check it outqueue%[git checkout `git describe --abbrev=0 --tags`]end
Invoking the task in deploy do section:
desc"Deploys the current version to the server."task:deploy=>:environmentdodeploydo# Put things that will set up an empty directory into a fully set-up# instance of your project.invoke:'checkout_release'to:launchdoinvoke:'deploy:cleanup'endendend
So, before deployment I just have to add a new tag to git and mina will check that out.
May not the most generic solution, but works for me, and maybe helps.
I would like to have mina
git tag
the local repository after a successful deploy. This would make it easier to track deploys and differences between them.The text was updated successfully, but these errors were encountered: