Skip to content

publish: Allow for older git versions#2673

Merged
paf31 merged 2 commits intopurescript:masterfrom
mcoffin:publish-old-git
Feb 18, 2017
Merged

publish: Allow for older git versions#2673
paf31 merged 2 commits intopurescript:masterfrom
mcoffin:publish-old-git

Conversation

@mcoffin
Copy link
Copy Markdown
Contributor

@mcoffin mcoffin commented Feb 18, 2017

Not adding any tests per same reasoning as #2613.

Currently, git versions < 2.2 will fail with psc-publish because they don't have the iso-strict date format available. Since we're just parsing in to unix time anyway, we can easily have git just output the unix timestamp in epoch seconds and parse that instead, ensuring compatibility with older git versions (most notably the one currently used by travis-ci).

EDIT: Some discussion also happened in #2610

@paf31
Copy link
Copy Markdown
Contributor

paf31 commented Feb 18, 2017

Thanks, but please also update CONTRIBUTORS.md.

Add @mcoffin (Matt Coffin)
[ci skip]
@mcoffin
Copy link
Copy Markdown
Contributor Author

mcoffin commented Feb 18, 2017

@paf31 Done. My bad. That's what I get for only skimming the contributing guidelines.

Copy link
Copy Markdown
Contributor

@hdgarrood hdgarrood left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

@paf31 paf31 merged commit e5e8310 into purescript:master Feb 18, 2017
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