Commit Graph

40 Commits

Author SHA1 Message Date
eileencodes
297e262035 Fix release task now that NPM is part of the build
Note: this commit looks super weird becuase git. I'm moving the entire
NPM section to the part where we actually push the gems/npm package for
the reasons below. That's not how the git diff looks though.

When we release Rails we run `rake prep_release` which calls
`update_versions`. This was updating the NPM version as well. But when we
would later run `rake install` to test the installed gem
`update_versions` gets called again which causes the install to fail
because NPM sees the version is the same as the last run and refuses to
continue. If you forget to stash this will then cause the push to
RubyGems to fail because `update_versions` is called again and then NPM
will not continue because it thinks the version hasn't been changed even
though it has.

The correct solution would be to not update the NPM verion if it matches
the version already in the file but after an hour I could not find a
simple way to use NPM to read the current version. Honestly that's not
the best way to do it either because say you forget to update something
else and then the script thinks it's already been updated.

With that in mind I think the best solution is to not update the NPM
version until right before we are going to push to NPM because then that
won't cause the push to RubyGems to fail.
2016-07-01 10:58:06 -04:00
Javan Makhmali
d12209cad2 Remove package:clean task
Introduced in d6f2000a67cc63aa67414c75ce77de671824ec52 and was only used by Action Cable. Now handled by Action Cable’s assets:compile task.
2016-05-24 13:11:28 -04:00
Jon Moss
548c1d6e8b
Publish Action Cable to NPM when we release.
Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
2016-05-11 19:36:27 -07:00
Rafael Mendonça França
db93aa16c4 Sign the tags when releasing 2016-05-06 16:24:41 -05:00
eileencodes
ba907d6caa Fix release script to allow pre release gems
This addition of `--pre` fixes the issue we were seeing when installing
a local copy of a pre-release rails version.
2016-04-27 15:48:47 -05:00
Matthew Draper
d6f2000a67 Wrangle the asset build into something that sounds more general 2016-02-01 05:03:03 +10:30
Jon Moss
cb040aa0e5 Add Action Cable asset building as release step 2016-01-30 20:51:18 -05:00
Aaron Patterson
23c36725a0 fix version update task to deal with .beta1.1 2016-01-25 10:22:03 -08:00
Rafael Mendonça França
7c4080aac4 Add task to test the release preparation 2015-12-18 14:56:26 -02:00
Arun Agrawal
aeceb5d188 Add actioncable to list of release frameworks [ci skip] 2015-12-17 16:08:02 +01:00
Rafael Mendonça França
1576f47c23 Ignore Gemfile.lock in the release task 2015-11-12 15:12:34 -02:00
Rafael Mendonça França
89b7396191 Add bundle check to release task 2015-11-05 01:04:07 -02:00
Rafael Mendonça França
d52baa8514 Add tasks to automatize CHANGELOG headers 2015-10-30 18:03:18 -02:00
Rafael Mendonça França
b58808ed6a Allow release when CHANGELOG is changed 2015-08-24 15:07:27 -03:00
Godfrey Chan
d507f332a9 activejob needs to be built before actionmailer 2014-12-19 16:12:32 -08:00
Rafael Mendonça França
70c2bf9d21 Fix shell quote on the release task 2014-11-19 18:30:06 -02:00
Abdelkader Boudih
0c232779ec Remove activejob integration tests 2014-08-12 10:07:21 +00:00
Arthur Neves
21a674a028
Fix release task
Add a parentheses.
related: b4c96490eeb1fbb944e116c7703dd528b37fc08a
2014-03-31 14:45:34 -04:00
Rafael Mendonça França
ce0df82057 Fix the update_versions release task 2014-03-25 15:35:06 -03:00
Rafael Mendonça França
b4c96490ee Take in consideration guides CHANGELOG 2014-03-14 14:52:17 -03:00
Rafael Mendonça França
d153355d35 Match the whole string 2014-03-14 14:49:46 -03:00
Jeremy Kemper
092e113df5 Use annotated git tags for release task 2013-12-18 01:00:13 -07:00
Yves Senn
3de199988f we should use annotated tags for releases.
Annotated tags will provide us with Tagger and Time information.
2013-12-18 08:57:46 +01:00
David Heinemeier Hansson
dc90709eaf Fix dependency order 2013-12-17 16:10:52 -08:00
Arun Agrawal
3cfe552a06 Added missing actionview in list for release 2013-07-13 18:56:56 +02:00
Santiago Pastorino
78defbb78e Fix release task after ceb3b8717beb9818fbfbab429a8aa697591e184a 2013-04-01 18:26:34 -03:00
robertomiranda
7142e924b4 Fix update_version_rb task 2013-03-24 08:43:10 -05:00
Prem Sichanugrist
f1637bf2bb Remove Active Resource source files from the repository
Dear Active Resource,

It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository.

I will miss you,

@sikachu.
2012-03-13 14:55:44 -04:00
Jon Leighton
156784fef1 rake release should push the tag 2011-11-14 16:55:31 +00:00
Arun Agrawal
b3175f6cb9 Warnings removed. 2011-11-08 14:28:28 +05:30
Arun Agrawal
b53f77ec99 CHANGELOG to CHANGELOG.md 2011-11-08 12:56:51 +05:30
Andrew Marshall & Sean Moon
343daf309b Make rails gem build directory consistent with actionpack, etc. 2011-08-04 17:32:43 -04:00
Aaron Patterson
64e2a549cf adding a rake task to help generate changelog notes for release announcements 2011-04-18 14:44:12 -07:00
Carl Lerche
1deeaf5495 The PRE part of the rails version is a string or nil 2010-11-16 17:23:39 -08:00
Carl Lerche
c3dd1238c5 Small cleanup of the release task 2010-11-16 17:19:47 -08:00
Carl Lerche
df5fe4d83c Add a task to tag the commit and push 2010-11-16 17:19:47 -08:00
Carl Lerche
482790db6c Add a task to commit the changes 2010-11-16 17:19:47 -08:00
Carl Lerche
dab1d8dcc6 Add some sanity checks to the gem push script 2010-11-16 17:19:47 -08:00
Carl Lerche
6b3f521b80 Remove some useless comments from the release task 2010-11-16 17:19:47 -08:00
Carl Lerche
fb5b2ba186 Add a new file containing tasks related to releasing 2010-11-16 17:19:47 -08:00