Table of Contents |
---|
...
- Checkout Datical project from your source control (Git, TFS, SVN)
- Run "hammer removeLabels" command. This command takes two arguments:
- lookupChangesets - This is the script name which you want to abandon, e.g., "
abandoned,temp_table.sql
". The "temp_table.sql" will be the FIRST user provided argument. - labels - This is the label you want to remove from your changesets, e.g., "
abandoned
"- Once you agree on what naming convention to use to abandon changes, this argument can be programmatic (e.g., "q4-20171.0.0-abandoned") or hard-coded (e.g., "abandoned").
- lookupChangesets - This is the script name which you want to abandon, e.g., "
- Run "hammer addLabels" command. This command takes two arguments:
- lookupChangesets - This is the script name which you unabandon, e.g., "
temp_table.sql
". The "temp_table.sql" is the FIRST user provided argument. - labels - This is the new release label you want to give to your changesets, e.g., "
release/2.0.0
". The "release/2.0.0" is the SECOND user provided argument.
- lookupChangesets - This is the script name which you unabandon, e.g., "
- Commit and push Datical project back into source control
...
hammer deploy STAGE --labels "release/2.0.0 AND !abandoned"
hammer deploy PROD --labels "release/2.0.0 AND !abandoned"
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...