Skip to content

Automatic release process#82

Closed
FagnerMartinsBrack wants to merge 8 commits intomasterfrom
grunt-release
Closed

Automatic release process#82
FagnerMartinsBrack wants to merge 8 commits intomasterfrom
grunt-release

Conversation

@FagnerMartinsBrack
Copy link
Copy Markdown
Member

This is a long-running PR that starts the implementation of a release process in parts, in order to remove the manual release and to start fixing the issues described in #57.

  • Automate the linking to the documentation of the latest release tag in the README.md
  • Replace the version number in the header of the src/js.cookie.js file without using variables to keep the number in the original file
  • Implement grunt-release(or similar) to remove most part of the manual work
  • Automatically upload the minified file into the github release (grunt-release does not support it)
  • Automate the commit with the message "Prepare for the next development iteration"
  • Automate the release on npm
  • Review the README release docs
  • Test manually each release command one by one
  • Run tests before release, should stop if there are failures
  • Comment the npm publish ./ command and test the whole release manually

Update March 20, 2016:

I have considered creating a task-agnostic decoupled node module for releases that is easily testable.

Making Grunt tasks testable will require so many effort that it turns out creating a new module will be much more efficient.

Also, considering the amount of requirements from #57, it makes no sense coupling everything to a lot of Grunt Tasks. We need to have better maleability to be able to implement custom routines for the release process.

Update March 29, 2016:

Repository is public, still in development: https://github.com/js-cookie/js-cookie-release

@FagnerMartinsBrack
Copy link
Copy Markdown
Member Author

Depends on geddski/grunt-release#47 to upload the minified file to the releases page.

@FagnerMartinsBrack FagnerMartinsBrack force-pushed the grunt-release branch 2 times, most recently from f1341c1 to 4f45734 Compare March 4, 2016 12:29
This make sure that the build is not failing. Also, it generates the
minified file for manual upload.
@FagnerMartinsBrack
Copy link
Copy Markdown
Member Author

Update March 20, 2016:

I have considered creating a task-agnostic decoupled node module for releases that is easily testable.

Making Grunt tasks testable will require so many effort that it turns out creating a new module will be much more efficient.

Also, considering the amount of requirements from #57, it makes no sense coupling everything to a lot of Grunt Tasks. We need to have better maleability to be able to implement custom routines for the release process.

@FagnerMartinsBrack
Copy link
Copy Markdown
Member Author

Update March 29, 2016:

Repository is public, still in development: https://github.com/js-cookie/js-cookie-release

@FagnerMartinsBrack FagnerMartinsBrack added this to the v2.1.2 milestone Apr 9, 2016
@FagnerMartinsBrack FagnerMartinsBrack removed this from the v2.1.1 milestone Apr 9, 2016
@FagnerMartinsBrack FagnerMartinsBrack modified the milestones: v2.1.3, v2.1.2 Jun 8, 2016
@FagnerMartinsBrack FagnerMartinsBrack removed this from the v2.1.3 milestone Jun 19, 2016
@FagnerMartinsBrack
Copy link
Copy Markdown
Member Author

FagnerMartinsBrack commented Jun 19, 2016

Closing this in favor of https://github.com/js-cookie/js-cookie-release. Still keeping track of the issues on #57.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant