Skip to content

Repository files navigation

github-util

Utility files for working with GitHub, including corporate GitHub Enterprise.

See

Get specific version of Maven

mvn-install.sh

For use in CICD like GitHub Actions. e.g.

    steps:

      - name: Install Maven
        run: |
          chmod +x ${GITHUB_WORKSPACE}/mvn-install.sh;
          ${GITHUB_WORKSPACE}/mvn-install.sh ${MAVEN_VERSION};
          echo "/opt/apache-maven-${MAVEN_VERSION}/bin" >> $GITHUB_PATH;

Get Release Jar for Maven

get-release-as-maven-dependency.sh

This script can be called to retrieve a jar from a repo's Releases, and add it to the local Maven repo cache. Suitable either for calling from within GitHub environment, like with Travis CI or GitHub Actions, or for artifacts that aren't in any remote Maven repos.

See https://docs.github.com/en/rest/releases/releases

Create and push Tag

gitag

Create Tag and Milestone together

gtm

Our current team pattern is to create milestones with most tags, so we can assign Issues to a Milestone and know which builds contain which Issues

See https://docs.github.com/en/rest/issues/milestones

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages