Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Use a branch as an alias of the latest release#232

Merged
gemmaleigh merged 1 commit intomasterfrom
track-latest-release
May 23, 2016
Merged

Use a branch as an alias of the latest release#232
gemmaleigh merged 1 commit intomasterfrom
track-latest-release

Conversation

@dsingleton
Copy link
Copy Markdown
Contributor

This is to make diffing master against whatever the latest released version
of the package is. This allows us to easily see what has been committed to
master but not yet released in a consistent way, eg with a diff like:

latest-release...master

This means we don't need to know the latest release is tag v4.10.0 (for example)

This also lets us track un-released package changes in tools like the deploy-lag-radiator
(https://github.com/dsingleton/deploy-lag-radiator)

This is to make diffing master against  whatever the latest released version
of the package is. This allows us to easily see what has been committed to
master but not yet released in a consistent way, eg with a diff like:

latest-release...master

This means we don't need to know the latest release is tag `v4.10.0` (for example)

This also lets us track un-released package changes in tools like the deploy-lag-radiator
(https://github.com/dsingleton/deploy-lag-radiator)
@gemmaleigh
Copy link
Copy Markdown
Contributor

@dsingleton thanks, this is really useful! 💯

@gemmaleigh gemmaleigh merged commit 3b0eab4 into master May 23, 2016
@dsingleton dsingleton deleted the track-latest-release branch May 23, 2016 15:42
gemmaleigh added a commit that referenced this pull request May 25, 2016
# 1.2.0

- Add MIT License (PR #236)
- Create latest release branch as an alias of the latest release (PR
#232)
- Create new app to preview govuk elements sass releases (PR #219)
- Fix the summary arrow in recent Firefox (PR #227)
- Remove button padding overriding the govuk_frontend_toolkit (PR #230)
- Don't copy the govuk_frontend_toolkit's images into an icons folder
(PR #223)
- Fix path for rails and node environments (PR #234)
  - Import the govuk_frontend_toolkit url-helpers partial
  - If image-url is not defined (if we are not in a Rails environment),
then set a path to /public/images
gemmaleigh added a commit that referenced this pull request May 25, 2016
# 1.2.0

- Add MIT License (PR #236)
- Create latest release branch as an alias of the latest release (PR
#232)
- Create new app to preview govuk elements sass releases (PR #219)
- Fix the summary arrow in recent Firefox (PR #227)
- Remove button padding overriding the govuk_frontend_toolkit (PR #230)
- Don't copy the govuk_frontend_toolkit's images into an icons folder
(PR #223)
- Fix path for rails and node environments (PR #234)
  - Import the govuk_frontend_toolkit url-helpers partial
  - If image-url is not defined (if we are not in a Rails environment),
then set a path to /public/images
robinwhittleton pushed a commit that referenced this pull request May 26, 2016
# 1.2.0

- Add MIT License (PR #236)
- Create latest release branch as an alias of the latest release (PR
#232)
- Create new app to preview govuk elements sass releases (PR #219)
- Fix the summary arrow in recent Firefox (PR #227)
- Remove button padding overriding the govuk_frontend_toolkit (PR #230)
- Don't copy the govuk_frontend_toolkit's images into an icons folder
(PR #223)
- Fix path for rails and node environments (PR #234)
  - Import the govuk_frontend_toolkit url-helpers partial
  - If image-url is not defined (if we are not in a Rails environment),
then set a path to /public/images
- Fix the skip link in Safari (PR #225)
@robinwhittleton robinwhittleton mentioned this pull request May 26, 2016
dsingleton added a commit that referenced this pull request Aug 5, 2016
Added in #232

The push failed in the most recent release/build:

```
To [email protected]:alphagov/govuk_elements.git
 ! [rejected]        master -> latest-release (non-fast-forward)
error: failed to push some refs to '[email protected]:alphagov/govuk_elements.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
```

Given it's just for tracking, we can safely force push.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants