Skip to content

Commit

Permalink
update CHANGELOG.md by script
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide committed Dec 10, 2023
1 parent 13898f4 commit c6629b1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

updates may be generated with scripts/changelog.sh <PR#lowest> <PR#highest>

## 1.3.14

### Added
Expand All @@ -12,6 +14,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed
- change `dmsgget` to `dmsgcurl` with new functionalities

### Commits
- update skywire-utilities [#244](https://github.com/skycoin/dmsg/pull/244)
- add ConnectedServersPK method [#243](https://github.com/skycoin/dmsg/pull/243)
- improve logic on save file dmsgcurl [#242](https://github.com/skycoin/dmsg/pull/242)
- dmsgcurl [#238](https://github.com/skycoin/dmsg/pull/238)
- dmsg client using socks5 proxy basic example [#237](https://github.com/skycoin/dmsg/pull/237)
- Bump Go images for Docker to 1.20-alpine [#235](https://github.com/skycoin/dmsg/pull/235)
- Export RootCmds [#234](https://github.com/skycoin/dmsg/pull/234)
- Dmsgweb [#229](https://github.com/skycoin/dmsg/pull/229)


## 1.3.0

### Added
Expand Down
14 changes: 14 additions & 0 deletions scripts/changelog.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/bash
## CHANGELOG GENERATOR SCRIPT
# supply range of pull requests since last release as arguments for sequence
[[ $1 == "" ]] && cat $0 && exit
for _i in $(seq $1 $2 | tac) ; do
_merged="$(curl -s https://github.com/skycoin/dmsg/pull/${_i} | grep 'Status: Merged')"
if [[ $_merged != "" ]] ; then
_title="$(curl -s https://github.com/skycoin/dmsg/pull/${_i} | grep '<title>')"
_title="$(curl -s https://github.com/skycoin/dmsg/pull/${_i} | grep '<title>')"
_title=${_title//"<title>"/}
_title=${_title//"by"*/}
[[ ${_title} != "" ]] && echo "- ${_title} [#${_i}](https://github.com/skycoin/dmsg/pull/${_i})"
fi
done

0 comments on commit c6629b1

Please sign in to comment.