gh-tagger

command module
v0.0.0-...-4ae377a Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Github tagger

A set of tools for tagging multiple repositories at once.

Usage

First build the tools

make build

Now you have two binaries that you can use together to bump a bunch of tags in multiple Github repositories.

The commands interact with the Github API so you will need to provide a github token in the environment variable GITHUB_TOKEN. The token needs the scope repo.

# set github token
export GITHUB_TOKEN=my-github-token

# fetch the latest semantic version tag for all repos in
# organization conduitio, bump the minor version and output
# the list of new tags into file repos.txt
./gh-tag-fetcher -bump minor conduitio > repos.txt

# manually edit repos.txt if necessary

# pipe the contents of repos.txt into gh-tag-creator which
# will create the tags according to the list in repos.txt
cat repos.txt | ./gh-tag-creator

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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