Skip to content

Commit 4bf7d0a

Browse files
committed
build(ci): fix rultor release script
1 parent 01a0393 commit 4bf7d0a

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.rultor.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ release:
2222
script: |-
2323
sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml
2424
sed -i "/\[Unreleased\]/a\\\n## [$tag] - $(date '+%F')" CHANGELOG.md
25-
git commit -am "version $tag"
2625
mkdir -p ~/.pub-cache
2726
mv ../credentials.json ~/.pub-cache/credentials.json
2827
flutter pub publish -f
28+
git commit -am "version $tag"
29+
git checkout master
30+
git merge __rultor
31+
git checkout __rultor

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [0.2.6] - 2021-05-01
810
### Changed
911
- read-only master branch with [rultor](http://www.rultor.com/).
1012
- automate releasing with rultor.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_brand_palettes
22
description: Collection of declarative classes for the color palettes of popular brands and companies, as well as for the Material Design standard.
3-
version: 0.2.5+2
3+
version: 0.2.6
44
homepage: https://dartoos.dev
55
repository: https://github.com/rafamizes/flutter_brand_palettes
66

0 commit comments

Comments
 (0)