Utility files for working with GitHub, including corporate GitHub Enterprise.
See
- GitHub REST API
- jq tool for parsing JSON from shell
- jq Playground for testing jq parsing
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-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
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