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

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

Merged
merged 1 commit into from
May 23, 2016

Conversation

dsingleton
Copy link
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
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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants