Help us shape the future of Go! Take the 2026 Go Developer Survey

release-notary

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2019 License: MIT Imports: 1 Imported by: 0

README

Release notary

Build Status

Release Notary builds release notes using Conventional Commit standard and then publishes it to Github. Release notes are appended to any text you already have in your release and therefore will not affect important announcements etc. Currently only Github is supported, but Gitlab is on the way as well.

Heavily inspired by https://github.com/graphql/graphql-js/releases but usable as a standalone app.

Expected output is HERE

⚠ Currently experimental. ⚠

Table of contents
  1. Usage

Usage

Required variables
  • GITHUB_TOKEN
  • GITHUB_REPOSITORY (in the format of owner/repository e.g. commitsar-app/release-notary)
Using Github actions

Checkout git in order to get commits and master branch

- name: Check out code into the Go module directory
  uses: actions/checkout@v1

Run the Release Notary action. Github token needs to be explicitly added so that Release Notary can use it. See https://help.github.com/en/articles/virtual-environments-for-github-actions

- name: Release Notary Action
  uses: commitsar-app/release-notary@v0.2.0 (substitute for current version)
  env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Using binary

Download and run: (Substitute v0.0.2 for current version)

- curl -L -O https://github.com/commitsar-app/release-notary/releases/download/v0.0.2/release-notary_v0.0.2_Linux_x86_64.tar.gz
- tar -xzf release-notary_v0.0.2_Linux_x86_64.tar.gz
- export GITHUB_TOKEN=yourtoken
- export GITHUB_REPOSITORY=owner/repo
- ./release-notary publish

Gitlab release documentation: https://gitlab.com/help/api/releases/index.md

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
release
Package release holds the common Release struct shared across all other packages
Package release holds the common Release struct shared across all other packages
releaser
Package releaser is used for releasing to Github or Gitlab Releases.
Package releaser is used for releasing to Github or Gitlab Releases.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL