Skip to content
This repository has been archived by the owner on Oct 25, 2018. It is now read-only.

update release script and deployment README #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jenweber
Copy link
Contributor

We automated more of the deployment and updated the README.

Blame @locks if it doesn't work

Copy link
Contributor

@acorncom acorncom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work here.

I have one concern here though. The updates here leave the person looking at this with the assumption that they can just run the script once and be finished. That’s an invalid assumption though. This script actually needs to be run twice: once, to build all the static files for the old version one last time (and update with all the changes made since the initial release of the old version) and then again for the new version.

That’s likely to be a moot point shortly, but if the difference here reflects a difference in how Ricardo and I do deploys, we may have accidentally thrown away all changes for some older versions of the guides as we transitioned between versions ...

sed -Ei .bak "s/v[0-9]+[.][0-9]+[.][0-9]+/$VERSION/g" snapshots/_redirects
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are .bak files part of gitignore?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove .bak to avoid the temporary file.

@locks
Copy link
Contributor

locks commented Apr 19, 2018

@acorncom I thought Travis would commit here, but I guess it's deploying straight away.

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.

4 participants