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

Update documentation around tag formatting #63

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions docs/deployment/frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,32 @@ order: 7
---

## Notify the team
1. Post a message into di-dev channel in the Data Infrastructure (DDaT) Team saying that you want to do a release and ask if there are any objections. If no objections, proceed with the following steps.

1. Post a message into di-dev channel in the Data Infrastructure (DDaT) Team saying that you want to do a release and ask if there are any objections. If no objections, proceed with the following steps.

## Tag your release

1. View the current [tags in Data Workspace](https://github.com/uktrade/data-workspace-frontend/tags)

- Make a note of the latest tag
- Check out the master branch and pull the latest.
- Create a new tag from the master branch following this format `v<year>-<month>-<day>` eg. v2024-01-19
- Create a new tag from the master branch(see "How to Tag your release")
- Push the new tag to Github

## How to Tag your release

**Format** `v<year>.<month>.<day>`

If there are multiple releases in one day, increment the tag alphabetically starting with `b`. For example `v2024.01.19` then `v2024.01.19.b`, `v2024.01.19.c` and so on.

**Example of how to tag and push**

```shell
git tag -a v2024-01-19 -m v2024-01-19
git tag -a v2024.01.19 -m v2024.01.19
```

```shell
git push origin v2024-01-19
git push origin v2024.01.19
```

## Create draft release notes
Expand All @@ -40,7 +46,6 @@ git push origin v2024-01-19
- Check the option "Set as the latest release"
- Click "Save draft"


## Release tag to production

1. Visit the [build job](https://jenkins.ci.uktrade.digital/view/Data/job/data-workspace/) in Jenkins
Expand Down