File tree Expand file tree Collapse file tree 4 files changed +35
-2
lines changed Expand file tree Collapse file tree 4 files changed +35
-2
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,20 @@ jobs:
103
103
- store_test_results :
104
104
path : test_results
105
105
106
+ deploy :
107
+ executor : main-executor
108
+ steps :
109
+ - setup
110
+ - run :
111
+ name : Setup rubygems
112
+ command : bash .circleci/setup-rubygems.sh
113
+ - run :
114
+ name : Publish to rubygems
115
+ command : |
116
+ gem build activeadmin_addons.gemspec
117
+ version_tag=$(git describe --tags)
118
+ gem push activeadmin_addons-${version_tag#v}.gem
119
+
106
120
workflows :
107
121
version : 2
108
122
test_and_lint :
@@ -113,3 +127,10 @@ workflows:
113
127
matrix :
114
128
parameters :
115
129
ruby-version : ["2.5", "2.6", "2.7"]
130
+ - deploy :
131
+ context : org-global
132
+ filters :
133
+ tags :
134
+ only : /.*/
135
+ branches :
136
+ ignore : /.*/
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
25
25
* Remove unsupported ` select2-rails ` gem, vendor files directly [ #264 ] ( https://github.com/platanus/activeadmin_addons/pull/264 ) and bump select2 to 4.0.13 [ #296 ] ( https://github.com/platanus/activeadmin_addons/pull/296 )
26
26
* Updated ` require_all ` gem to 2.0 [ #313 ] ( https://github.com/platanus/activeadmin_addons/pull/313 )
27
27
* Dependabot bumps for devise, rack, loofah
28
+ * Release with circle ci instead of travis
28
29
29
30
### 1.7.1
30
31
Original file line number Diff line number Diff line change 1
- Copyright 2014 PLATANUS SPA
1
+ Copyright 2021 PLATANUS SPA
2
2
3
3
Permission is hereby granted, free of charge, to any person obtaining
4
4
a copy of this software and associated documentation files (the
Original file line number Diff line number Diff line change @@ -259,6 +259,17 @@ Take care of defining these variables before the import of `@import 'activeadmin
259
259
260
260
For material documentation you should go to [ gem documentation] ( http://code.viget.com/active_material/docs/api/ ) .
261
261
262
+ ## Publishing
263
+
264
+ On master/main branch...
265
+
266
+ 1 . Change ` VERSION ` in ` lib/activeadmin_addons/version.rb ` .
267
+ 2 . Change ` Unreleased ` title to current version in ` CHANGELOG.md ` .
268
+ 3 . Run ` bundle install ` .
269
+ 4 . Commit new release. For example: ` Releasing v1.0.0 ` .
270
+ 5 . Create tag. For example: ` git tag v1.0.0 ` .
271
+ 6 . Push tag. For example: ` git push origin v1.0.0 ` .
272
+
262
273
## Contributing
263
274
264
275
1 . Fork it
@@ -280,4 +291,4 @@ activeadmin_addons is maintained by [platanus](http://platan.us).
280
291
281
292
## License
282
293
283
- ActiveAdminAddons is © 2016 Platanus, spa. It is free software and may be redistributed under the terms specified in the LICENSE file.
294
+ ActiveAdminAddons is © 2021 Platanus, spa. It is free software and may be redistributed under the terms specified in the LICENSE file.
You can’t perform that action at this time.
0 commit comments