Release tools (scripts)
What is this?
Docker image with scripts release making on different services.
Supported tags
Tag name | Details | Full image name | Dockerfile |
---|---|---|---|
1.0 |
avtodev/release-tools:1.0 |
link |
v1.0
Tools
changelog-to-gitlab-release.sh
- Make release on gitlab.com based on entry in CHANGELOG.md
file.
$ docker run --rm -v $(pwd)/CHANGELOG.md:/CHANGELOG.md:ro \
avtodev/release-tools:1.0 changelog-to-gitlab-release.sh \
"./CHANGELOG.md" \ # Path to the CHANGELOG.md
"v1.0.0" \ # Version header (for getting content from CHANGELOG.md)
"v1.0.0" \ # Git tag name (must exists on target reporitory/project)
"https://gitlab.com/api/v4/projects/666/releases" \ # Gitlab endpoint API uri
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" # Auth token
changelog-to-noticeable-post.sh
- Make post on noticeable.io with content entry from CHANGELOG.md
file.
$ docker run --rm -v $(pwd)/CHANGELOG.md:/CHANGELOG.md:ro \
avtodev/release-tools:1.0 changelog-to-noticeable-post.sh \
"./CHANGELOG.md" \ # Path to the CHANGELOG.md
"v1.0.0" \ # Version header (for getting content from CHANGELOG.md)
"John Doe" \ # Post author name
"Application FooBar v1.0.0 Released" \ # Post title
"https://hsto.org/webt/hn/5c/6g/hn5c6geloex3u6rzdphnguheckk.jpeg" \ # Featured image URI
"New feature" \ # Post label name
"XXXXXXXXXXXXXXXXXXXXX" \ # Project ID
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" # API key
License
MIT. Use anywhere for your pleasure.