Skip to content

Commit

Permalink
Update release process
Browse files Browse the repository at this point in the history
  • Loading branch information
tejohnso committed Jun 19, 2018
1 parent ea73ab2 commit 85b0710
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
docker:
- image: snapcore/snapcraft
steps:
- checkout
- attach_workspace:
at: ~/workspace

Expand All @@ -51,28 +52,31 @@ jobs:
if git tag --contains |grep edge; then snapcraft push *.snap --release edge; fi
if git tag --contains |grep stable; then snapcraft push *.snap --release stable; fi
- run:
name: Confirm release
command: |
snapcraft list-revisions fdic |grep $(cat VERSION)
release_github:
working_directory: ~/workspace
docker:
- image: circleci/buildpack-deps
steps:
- checkout

- attach_workspace:
at: ~/workspace

- run:
name: Create github release
command: |
curl -vv -H "content-type: application/json" --data-binary "{\"tag_name\":\"$(cat VERSION)\"}" -u tejohnso:$GITHUB_TOKEN https://api.github.com/repos/tejohnso/dictionary-filter/releases 2>&1 |grep "201 Created"
curl -vv -H "content-type: application/json" --data-binary "{\"body\":\"See [CHANGELOG](https://github.com/tejohnso/dictionary-filter/blob/master/CHANGELOG.md) for details\",\"tag_name\":\"$(cat VERSION)\"}" -u tejohnso:$GITHUB_TOKEN https://api.github.com/repos/tejohnso/dictionary-filter/releases 2>&1 |grep "201 Created"
release_aur:
working_directory: ~/workspace
docker:
- image: circleci/buildpack-deps
steps:
- checkout

- attach_workspace:
at: ~/workspace

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Allow min/max wordlength cli options
- Check default ubuntu dict paths

## [1.0.5] - 2018-06-19
### Added
- Improved release process

## [1.0.4] - 2018-06-18
### Added
- Include AUR publishing
Expand Down

0 comments on commit 85b0710

Please sign in to comment.