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

Commit 0d1b839

Browse files
authored
Create updating-to-edge.md
1 parent 4f426a3 commit 0d1b839

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

updating-to-edge.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
1. switch to repo
2+
2. `git checkout -b edge 1_0_0`
3+
3. update VERSION to .lap22
4+
3. remove `source ENV['HYPER_DEV_GEM_SOURCE'] if ENV['HYPER_DEV_GEM_SOURCE']` from Gemfile
5+
4. set up rake file:
6+
```ruby
7+
require "bundler/gem_tasks"
8+
require "rspec/core/rake_task"
9+
10+
RSpec::Core::RakeTask.new(:spec)
11+
12+
namespace :spec do
13+
task :prepare do
14+
sh %{bundle update}
15+
sh %{cd spec/test_app; bundle update} # may need ;bundle exec rails db:setup as well
16+
end
17+
end
18+
19+
task :default => :spec
20+
```
21+
5. `rake spec:prepare` **NO BUNDLE EXEC, since the prepare will do the updates**
22+
6. `bundle exec rake`
23+
6. delete the `dciy_prepare.sh` and `dciy_run.sh` files and replace `dciy_toml` with
24+
```ini
25+
[dciy.commands]
26+
prepare = ["rake spec:prepare"]
27+
cibuild = ["bundle exec rake"]
28+
```
29+
8. `git -am "setup edge"`
30+
8. `git push origin edge`
31+
8. `gem build ...gemspec`
32+
5. `gem push ...gem`
33+
6. `gem owner --add jan@kursator.de ...`
34+

0 commit comments

Comments
 (0)