├── .chglog.yml ├── .chglog ├── CHANGELOG.tpl.md └── config.yaml ├── .env ├── .github └── workflows │ ├── dispatch.yaml │ ├── goreleaser-bump.yaml │ ├── release-base.yaml │ ├── release-goreleaser-pro.yaml │ └── release-goreleaser.yaml ├── .gitignore ├── Dockerfile ├── Dockerfile.base ├── LICENSE ├── Makefile ├── README.md ├── changelog.yml ├── cosign.pub ├── entrypoint.sh ├── iter.sh ├── patches └── libcxx.patch ├── scripts ├── build-cross.sh ├── genchangelog.sh ├── goreleaser-manifest-push.sh ├── goreleaser-manifest.sh ├── image-tags.sh ├── is_prerelease.sh ├── make_tarballs.sh ├── semver.sh └── sysroot-rsync.sh └── versions.json /.chglog.yml: -------------------------------------------------------------------------------- 1 | conventional-commits: true 2 | debug: false 3 | owner: "goreleaser" 4 | package-name: "goreleaser-cross" 5 | -------------------------------------------------------------------------------- /.chglog/CHANGELOG.tpl.md: -------------------------------------------------------------------------------- 1 | {{ range .Versions }} 2 | 3 | ## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} 4 | 5 | > {{ datetime "2006-01-02" .Tag.Date }} 6 | 7 | {{ range .CommitGroups -}} 8 | ### {{ .Title }} 9 | 10 | {{ range .Commits -}} 11 | * {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} 12 | {{ end }} 13 | {{ end -}} 14 | 15 | {{- if .RevertCommits -}} 16 | ### Reverts 17 | 18 | {{ range .RevertCommits -}} 19 | * {{ .Revert.Header }} 20 | {{ end }} 21 | {{ end -}} 22 | 23 | {{- if .MergeCommits -}} 24 | ### Pull Requests 25 | 26 | {{ range .MergeCommits -}} 27 | * {{ .Header }} 28 | {{ end }} 29 | {{ end -}} 30 | 31 | {{- if .NoteGroups -}} 32 | {{ range .NoteGroups -}} 33 | ### {{ .Title }} 34 | 35 | {{ range .Notes }} 36 | {{ .Body }} 37 | {{ end }} 38 | {{ end -}} 39 | {{ end -}} 40 | {{ end -}} -------------------------------------------------------------------------------- /.chglog/config.yaml: -------------------------------------------------------------------------------- 1 | style: github 2 | template: CHANGELOG.tpl.md 3 | info: 4 | title: CHANGELOG 5 | repository_url: https://github.com/goreleaser/goreleaser-cross 6 | options: 7 | commits: 8 | # filters: 9 | # Type: 10 | # - feat 11 | # - fix 12 | # - perf 13 | # - refactor 14 | commit_groups: 15 | title_maps: 16 | feat: Features 17 | fix: Bug Fixes 18 | perf: Performance Improvements 19 | refactor: Code Refactoring 20 | header: 21 | pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$" 22 | pattern_maps: 23 | - Type 24 | - Scope 25 | - Subject 26 | notes: 27 | keywords: 28 | - BREAKING CHANGE 29 | -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- 1 | GO_VERSION=1.24.3 2 | TOOLCHAINS_VERSION=v0.1.8 3 | GIT_CHGLOG_VERSION=v0.15.0 4 | GORELEASER_VERSION=2.9.0 5 | OSX_SDK=MacOSX12.0.sdk 6 | OSX_SDK_SUM=ac07f28c09e6a3b09a1c01f1535ee71abe8017beaedd09181c8f08936a510ffd 7 | OSX_VERSION_MIN=10.9 8 | OSX_CROSS_COMMIT=e59a63461da2cbc20cb0a5bbfc954730e50a5472 9 | DEBIAN_FRONTEND=noninteractive 10 | TINI_VERSION=v0.19.0 11 | COSIGN_VERSION=2.4.1 12 | -------------------------------------------------------------------------------- /.github/workflows/dispatch.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | name: dispatch 3 | jobs: 4 | runs-on: ubuntu-latest 5 | steps: 6 | - name: notify goreleaser-cross with new release 7 | if: success() && startsWith(github.ref, 'refs/tags/v') 8 | uses: peter-evans/repository-dispatch@v2 9 | with: 10 | token: ${{ secrets.GH_PAT }} 11 | repository: goreleaser/goreleaser-cross 12 | event-type: goreleaser 13 | client-payload: '{"tag": "${{ env.RELEASE_TAG }}"}' 14 | -------------------------------------------------------------------------------- /.github/workflows/goreleaser-bump.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | name: goreleaser-bump 3 | 4 | on: 5 | workflow_dispatch: 6 | inputs: 7 | tag: 8 | 9 | jobs: 10 | goreleaser-bump: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - name: Checkout code 14 | uses: actions/checkout@v3 15 | with: 16 | fetch-depth: 0 17 | token: ${{ secrets.GITHUB_TOKEN }} 18 | persist-credentials: true 19 | - run: git checkout master 20 | - name: Setup git config 21 | run: | 22 | git config --global user.name github-actions 23 | git config --global user.email "github-actions@github.com" 24 | - name: Setup env 25 | uses: c-py/action-dotenv-to-setenv@v3 26 | with: 27 | env-file: .env 28 | - name: Goreleaser version 29 | run: | 30 | GORELEASER_VER=${{ github.event.inputs.tag }} 31 | echo "GORELEASER_VER=${GORELEASER_VER#v}" >> $GITHUB_ENV 32 | - name: set new version 33 | run: | 34 | sed -i -e "s/GORELEASER_VERSION=${{ env.GORELEASER_VERSION }}/GORELEASER_VERSION=${{ env.GORELEASER_VER }}/g" .env 35 | - name: Commit new version 36 | run: | 37 | if git add .env > /dev/null 2>&1; then 38 | git commit -m "feat: bump goreleaser to v${{ env.GORELEASER_VER }}" 39 | git push origin master 40 | fi 41 | notify-goreleaser-bump: 42 | runs-on: ubuntu-latest 43 | needs: 44 | - goreleaser-bump 45 | steps: 46 | - name: Checkout code 47 | uses: actions/checkout@v3 48 | with: 49 | fetch-depth: 0 50 | - name: Setup env 51 | uses: c-py/action-dotenv-to-setenv@v3 52 | with: 53 | env-file: .env 54 | - name: Get version 55 | run: | 56 | echo "RELEASE_TAG=v${GO_VERSION}" >> $GITHUB_ENV 57 | - name: Notify goreleaser-cross with new release 58 | uses: benc-uk/workflow-dispatch@v1 59 | with: 60 | workflow: goreleaser 61 | inputs: '{ "tag" : "${{ env.RELEASE_TAG }}" }' 62 | notify-goreleaser-pro-bump: 63 | runs-on: ubuntu-latest 64 | needs: 65 | - goreleaser-bump 66 | steps: 67 | - name: Checkout code 68 | uses: actions/checkout@v3 69 | with: 70 | fetch-depth: 0 71 | - name: Setup env 72 | uses: c-py/action-dotenv-to-setenv@v3 73 | with: 74 | env-file: .env 75 | - name: Get version 76 | run: | 77 | echo "RELEASE_TAG=v${GO_VERSION}" >> $GITHUB_ENV 78 | - name: Notify goreleaser-cross-pro with new release 79 | uses: benc-uk/workflow-dispatch@v1 80 | with: 81 | workflow: goreleaser-pro 82 | inputs: '{ "tag" : "${{ env.RELEASE_TAG }}" }' 83 | -------------------------------------------------------------------------------- /.github/workflows/release-base.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | name: release 3 | on: 4 | push: 5 | tags: 6 | - v* 7 | 8 | env: 9 | GO111MODULE: on 10 | jobs: 11 | release-base: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - name: Login to GitHub Container Registry 15 | uses: docker/login-action@v3 16 | with: 17 | registry: ghcr.io 18 | username: ${{ github.repository_owner }} 19 | password: ${{ secrets.GITHUB_TOKEN }} 20 | - name: Login to DockerHub 21 | uses: docker/login-action@v3 22 | with: 23 | username: ${{ secrets.DOCKER_USERNAME }} 24 | password: ${{ secrets.DOCKER_PASSWORD }} 25 | - name: Checkout code 26 | uses: actions/checkout@v4 27 | - run: git fetch --prune --unshallow 28 | - name: Setup env 29 | uses: c-py/action-dotenv-to-setenv@v3 30 | with: 31 | env-file: .env 32 | - name: Define and set tags 33 | shell: bash 34 | id: meta 35 | run: | 36 | cross_base_tags="$(./scripts/image-tags.sh cross-base)" 37 | 38 | echo 'cross_base_tags<> $GITHUB_OUTPUT 39 | echo "$cross_base_tags" >> $GITHUB_OUTPUT 40 | echo 'EOF' >> $GITHUB_OUTPUT 41 | - name: Set up QEMU 42 | uses: docker/setup-qemu-action@v3 43 | - name: Set up Docker Buildx 44 | uses: docker/setup-buildx-action@v3 45 | - name: Install cosign 46 | uses: sigstore/cosign-installer@main 47 | - name: Build and push base images 48 | uses: docker/build-push-action@v6 49 | with: 50 | context: . 51 | platforms: linux/amd64,linux/arm64 52 | push: true 53 | file: Dockerfile.base 54 | tags: ${{ steps.meta.outputs.cross_base_tags }} 55 | build-args: | 56 | GO_VERSION=${{env.GO_VERSION}} 57 | TINI_VERSION=${{env.TINI_VERSION}} 58 | COSIGN_VERSION=${{env.COSIGN_VERSION}} 59 | COSIGN_SHA256=${{env.COSIGN_SHA256}} 60 | DEBIAN_FRONTEND=${{env.DEBIAN_FRONTEND}} 61 | TOOLCHAINS_VERSION=${{env.TOOLCHAINS_VERSION}} 62 | release: 63 | runs-on: ubuntu-latest 64 | needs: 65 | - release-base 66 | steps: 67 | - name: Checkout code 68 | uses: actions/checkout@v3 69 | - run: git fetch --prune --unshallow 70 | - name: Setup env 71 | uses: c-py/action-dotenv-to-setenv@v3 72 | with: 73 | env-file: .env 74 | - uses: actions/setup-go@v3 75 | with: 76 | go-version: "${{ env.GO_VERSION }}" 77 | - name: get version 78 | if: startsWith(github.ref, 'refs/tags/v') 79 | run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV 80 | - name: Install git-chglog 81 | run: go install github.com/git-chglog/git-chglog/cmd/git-chglog@${{ env.GIT_CHGLOG_VERSION }} 82 | - name: Generate changelog 83 | run: make gen-changelog 84 | - uses: cb80/delrel@latest 85 | with: 86 | tag: v${{ env.RELEASE_TAG}} 87 | env: 88 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 89 | - name: Release 90 | uses: softprops/action-gh-release@v1 91 | with: 92 | body_path: changelog.md 93 | # - name: Sign images 94 | # if: (${{ steps.branch-name.outputs.is_tag }} == true) 95 | # run: | 96 | # while IFS=$'\n' read -r line; do 97 | # base_name=$(echo "$line" | cut -d ":" -f 1) 98 | # docker pull $line 99 | # 100 | # id=$(docker image inspect "$line" --format='{{.Id}}') 101 | # 102 | # cosign sign --upload=${{ steps.branch-name.outputs.is_tag }} --key env://COSIGN_PRIVATE_KEY --recursive $base_name@$id 103 | # done <<< "${{ steps.meta.outputs.cross_base_tags }}" 104 | # 105 | # while IFS=$'\n' read -r line; do 106 | # base_name=$(echo "$line" | cut -d ":" -f 1) 107 | # docker pull $line 108 | # 109 | # id=$(docker image inspect "$line" --format='{{.Id}}') 110 | # 111 | # cosign sign --upload=${{ steps.branch-name.outputs.is_tag }} --key env://COSIGN_PRIVATE_KEY --recursive $base_name@$id 112 | # done <<< "${{ steps.meta.outputs.cross_tags }}" 113 | # env: 114 | # COSIGN_PRIVATE_KEY: ${{secrets.COSIGN_PRIVATE_KEY}} 115 | # COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}} 116 | notify-goreleaser-bump: 117 | runs-on: ubuntu-latest 118 | needs: 119 | - release-base 120 | steps: 121 | - name: Checkout code 122 | uses: actions/checkout@v3 123 | - run: git fetch --prune --unshallow 124 | - name: get version 125 | run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV 126 | - name: notify goreleaser-cross with new release 127 | uses: benc-uk/workflow-dispatch@v1 128 | with: 129 | workflow: goreleaser 130 | inputs: '{ "tag" : "${{ env.RELEASE_TAG }}" }' 131 | notify-goreleaser-pro-bump: 132 | runs-on: ubuntu-latest 133 | needs: 134 | - release-base 135 | steps: 136 | - name: Checkout code 137 | uses: actions/checkout@v3 138 | - run: git fetch --prune --unshallow 139 | - name: get version 140 | run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV 141 | - name: notify goreleaser-cross-pro with new release 142 | uses: benc-uk/workflow-dispatch@v1 143 | with: 144 | workflow: goreleaser-pro 145 | inputs: '{ "tag" : "${{ env.RELEASE_TAG }}" }' 146 | -------------------------------------------------------------------------------- /.github/workflows/release-goreleaser-pro.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | name: goreleaser-pro 3 | 4 | on: 5 | workflow_dispatch: 6 | inputs: 7 | tag: 8 | 9 | env: 10 | GO111MODULE: on 11 | jobs: 12 | goreleaser-pro: 13 | runs-on: ubuntu-latest 14 | steps: 15 | - name: Login to GitHub Container Registry 16 | uses: docker/login-action@v3 17 | with: 18 | registry: ghcr.io 19 | username: ${{ github.repository_owner }} 20 | password: ${{ secrets.GITHUB_TOKEN }} 21 | - name: Login to DockerHub 22 | uses: docker/login-action@v3 23 | with: 24 | username: ${{ secrets.DOCKER_USERNAME }} 25 | password: ${{ secrets.DOCKER_PASSWORD }} 26 | - name: Checkout code 27 | uses: actions/checkout@v3 28 | - run: git fetch --prune --unshallow 29 | - name: Setup env 30 | uses: c-py/action-dotenv-to-setenv@v3 31 | with: 32 | env-file: .env 33 | - name: get version 34 | run: echo "TAG_VERSION=${{ github.event.inputs.tag }}" >> $GITHUB_ENV 35 | - name: Define and set tags 36 | shell: bash 37 | id: meta 38 | run: | 39 | cross_pro_tags="$(./scripts/image-tags.sh cross-pro)" 40 | 41 | echo 'cross_pro_tags<> $GITHUB_OUTPUT 42 | echo "$cross_pro_tags" >> $GITHUB_OUTPUT 43 | echo 'EOF' >> $GITHUB_OUTPUT 44 | - name: Set docker push behavior 45 | uses: tj-actions/branch-names@v6 46 | id: branch-name 47 | - name: Set up QEMU 48 | uses: docker/setup-qemu-action@v3 49 | - name: Set up Docker Buildx 50 | uses: docker/setup-buildx-action@v3 51 | - name: Install cosign 52 | uses: sigstore/cosign-installer@main 53 | - uses: actions/setup-go@v3 54 | with: 55 | go-version: "${{ env.GO_VERSION }}" 56 | - name: "node-cleanup" 57 | run: | 58 | sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL 59 | # sudo docker image prune --all --force 60 | # sudo docker builder prune -a 61 | - name: Build and push goreleaser pro image 62 | uses: docker/build-push-action@v6 63 | with: 64 | context: . 65 | platforms: linux/amd64,linux/arm64 66 | push: true 67 | tags: ${{ steps.meta.outputs.cross_pro_tags }} 68 | build-args: | 69 | "TAG_VERSION=${{env.TAG_VERSION}}" 70 | "GORELEASER_VERSION=${{env.GORELEASER_VERSION}}" 71 | "GORELEASER_DISTRIBUTION=-pro" 72 | "DEBIAN_FRONTEND=${{env.DEBIAN_FRONTEND}}" 73 | -------------------------------------------------------------------------------- /.github/workflows/release-goreleaser.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | name: goreleaser 3 | on: 4 | workflow_dispatch: 5 | inputs: 6 | tag: 7 | 8 | env: 9 | GO111MODULE: on 10 | jobs: 11 | goreleaser: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - name: Login to GitHub Container Registry 15 | uses: docker/login-action@v3 16 | with: 17 | registry: ghcr.io 18 | username: ${{ github.repository_owner }} 19 | password: ${{ secrets.GITHUB_TOKEN }} 20 | - name: Login to DockerHub 21 | uses: docker/login-action@v3 22 | with: 23 | username: ${{ secrets.DOCKER_USERNAME }} 24 | password: ${{ secrets.DOCKER_PASSWORD }} 25 | - name: Checkout code 26 | uses: actions/checkout@v3 27 | - run: git fetch --prune --unshallow 28 | - name: Setup env 29 | uses: c-py/action-dotenv-to-setenv@v3 30 | with: 31 | env-file: .env 32 | - name: get version 33 | run: echo "TAG_VERSION=${{ github.event.inputs.tag }}" >> $GITHUB_ENV 34 | - name: Define and set tags 35 | shell: bash 36 | id: meta 37 | run: | 38 | cross_tags="$(./scripts/image-tags.sh cross)" 39 | 40 | echo 'cross_tags<> $GITHUB_OUTPUT 41 | echo "$cross_tags" >> $GITHUB_OUTPUT 42 | echo 'EOF' >> $GITHUB_OUTPUT 43 | - name: Set docker push behavior 44 | uses: tj-actions/branch-names@v6 45 | id: branch-name 46 | - name: Set up QEMU 47 | uses: docker/setup-qemu-action@v3 48 | - name: Set up Docker Buildx 49 | uses: docker/setup-buildx-action@v3 50 | - name: Install cosign 51 | uses: sigstore/cosign-installer@main 52 | - uses: actions/setup-go@v3 53 | with: 54 | go-version: "${{ env.GO_VERSION }}" 55 | - name: "node-cleanup" 56 | run: | 57 | sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL 58 | # sudo docker image prune --all --force 59 | # sudo docker builder prune -a 60 | - name: Build and push goreleaser image 61 | uses: docker/build-push-action@v6 62 | with: 63 | context: . 64 | platforms: linux/amd64,linux/arm64 65 | push: true 66 | tags: ${{ steps.meta.outputs.cross_tags }} 67 | build-args: | 68 | "TAG_VERSION=${{env.TAG_VERSION}}" 69 | "GORELEASER_VERSION=${{env.GORELEASER_VERSION}}" 70 | "DEBIAN_FRONTEND=${{env.DEBIAN_FRONTEND}}" 71 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | dist 3 | vendor 4 | .docker-creds 5 | changelog.md 6 | cosign.key 7 | .tmpenv 8 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | # golang parameters 2 | ARG GORELEASER_VERSION 3 | ARG GORELEASER_DISTRIBUTION="" 4 | ARG BASE_VERSION=latest 5 | 6 | FROM ghcr.io/goreleaser/goreleaser$GORELEASER_DISTRIBUTION:v$GORELEASER_VERSION AS goreleaser 7 | 8 | FROM ghcr.io/goreleaser/goreleaser-cross-base:$BASE_VERSION 9 | 10 | LABEL maintainer="Artur Troian " 11 | LABEL "org.opencontainers.image.source"="https://github.com/goreleaser/goreleaser-cross" 12 | 13 | COPY --from=goreleaser /usr/bin/goreleaser /usr/bin/goreleaser 14 | -------------------------------------------------------------------------------- /Dockerfile.base: -------------------------------------------------------------------------------- 1 | ARG TOOLCHAINS_TAG=v0.1.8 2 | 3 | FROM ghcr.io/goreleaser/goreleaser-cross-toolchains:${TOOLCHAINS_TAG} 4 | 5 | LABEL maintainer="Artur Troian " 6 | LABEL "org.opencontainers.image.source"="https://github.com/goreleaser/goreleaser-cross-base" 7 | 8 | ARG DEBIAN_FRONTEND=noninteractive 9 | ARG TINI_VERSION 10 | ARG GO_VERSION 11 | ARG TARGETARCH 12 | ARG COSIGN_VERSION 13 | 14 | COPY entrypoint.sh / 15 | 16 | # Install deps 17 | RUN \ 18 | echo "Starting image build for Debian" \ 19 | && sed -ri "s/(httpredir|deb).debian.org/${APT_MIRROR:-deb.debian.org}/g" /etc/apt/sources.list \ 20 | && sed -ri "s/(security).debian.org/${APT_MIRROR:-security.debian.org}/g" /etc/apt/sources.list \ 21 | && apt-get update \ 22 | && apt-get install --no-install-recommends -y -q \ 23 | software-properties-common \ 24 | curl \ 25 | gnupg2 \ 26 | openssh-client \ 27 | && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add - \ 28 | && echo "deb [arch=$TARGETARCH] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list \ 29 | && apt-get update \ 30 | && apt-get install --no-install-recommends -y -q \ 31 | docker-ce \ 32 | docker-ce-cli \ 33 | tini \ 34 | && apt -y autoremove \ 35 | && apt-get clean \ 36 | && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ 37 | && wget https://go.dev/dl/go${GO_VERSION}.linux-${TARGETARCH}.tar.gz \ 38 | && rm -rf /usr/local/go && tar -C /usr/local -xzf go${GO_VERSION}.linux-${TARGETARCH}.tar.gz \ 39 | && rm go${GO_VERSION}.linux-${TARGETARCH}.tar.gz \ 40 | && wget https://github.com/sigstore/cosign/releases/download/v2.4.1/cosign_${COSIGN_VERSION}_${TARGETARCH}.deb \ 41 | && dpkg -i cosign_${COSIGN_VERSION}_${TARGETARCH}.deb \ 42 | && rm cosign_${COSIGN_VERSION}_${TARGETARCH}.deb \ 43 | && chmod +x /entrypoint.sh 44 | 45 | COPY --from=docker/buildx-bin:latest /buildx /usr/libexec/docker/cli-plugins/docker-buildx 46 | 47 | ENV OSX_CROSS_PATH=/usr/local/osxcross 48 | ENV PATH=$PATH:/usr/local/go/bin 49 | ENV PATH=$PATH:"$OSX_CROSS_PATH/bin" 50 | 51 | ENTRYPOINT ["/usr/bin/tini", "--", "/entrypoint.sh"] 52 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Goren G 4 | Copyright (c) 2020 Artur Troian 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | SOFTWARE. 23 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | include .env 2 | 3 | BASH_PATH := $(shell which bash) 4 | SHELL := $(BASH_PATH) 5 | 6 | TAGS_SCRIPT := ./scripts/image-tags.sh 7 | 8 | TAG_VERSION ?= $(shell git describe --tags --abbrev=0) 9 | 10 | export GORELEASER_VERSION 11 | 12 | REGISTRIES ?= docker.io \ 13 | ghcr.io 14 | 15 | SUBIMAGES ?= arm64 \ 16 | amd64 17 | 18 | IMAGE_BASE_NAMES := $(shell $(TAGS_SCRIPT) cross-base "$(TAG_VERSION)" "$(REGISTRIES)") 19 | IMAGE_NAMES := $(shell $(TAGS_SCRIPT) cross "$(TAG_VERSION)" "$(REGISTRIES)") 20 | IMAGE_PRO_NAMES := $(shell $(TAGS_SCRIPT) cross-pro "$(TAG_VERSION)" "$(REGISTRIES)") 21 | 22 | IMAGE_BASE_TAGS := $(foreach ARCH,$(SUBIMAGES),$(foreach IMAGE,$(IMAGE_BASE_NAMES), $(IMAGE)-$(ARCH))) 23 | IMAGE_TAGS := $(foreach ARCH,$(SUBIMAGES),$(foreach IMAGE,$(IMAGE_NAMES), $(IMAGE)-$(ARCH))) 24 | IMAGE_PRO_TAGS := $(foreach ARCH,$(SUBIMAGES),$(foreach IMAGE,$(IMAGE_PRO_NAMES), $(IMAGE)-$(ARCH))) 25 | 26 | define cross_base_tags 27 | $(shell $(TAGS_SCRIPT) cross-base "$(TAG_VERSION)" "$(1)") 28 | endef 29 | 30 | IMAGE_TOOLCHAINS := goreleaser/goreleaser-cross-toolchains:$(TOOLCHAINS_VERSION) 31 | 32 | ifneq ($(REGISTRY),) 33 | IMAGE_BASE_NAME := $(REGISTRY)/$(IMAGE_BASE_NAME) 34 | IMAGE_NAME := $(REGISTRY)/$(IMAGE_NAME) 35 | IMAGE_PRO_NAME := $(REGISTRY)/$(IMAGE_PRO_NAME) 36 | IMAGE_TOOLCHAINS := $(REGISTRY)/$(IMAGE_TOOLCHAINS) 37 | endif 38 | 39 | DOCKER_BUILD=docker build 40 | 41 | .PHONY: gen-changelog 42 | gen-changelog: 43 | @echo "generating changelog to changelog" 44 | ./scripts/genchangelog.sh $(shell git describe --tags --abbrev=0) changelog.md 45 | 46 | .PHONY: base-% 47 | base-%: 48 | @echo "building $* version of base image" 49 | docker build --platform=linux/$* \ 50 | $(foreach IMAGE,$(IMAGE_BASE_NAMES),-t $(IMAGE)-$*) \ 51 | --build-arg GO_VERSION=$(GO_VERSION) \ 52 | --build-arg TINI_VERSION=$(TINI_VERSION) \ 53 | --build-arg COSIGN_VERSION=$(COSIGN_VERSION) \ 54 | --build-arg DEBIAN_FRONTEND=$(DEBIAN_FRONTEND) \ 55 | --build-arg TOOLCHAINS_TAG="$(TOOLCHAINS_VERSION)-$*" \ 56 | . -f Dockerfile.base 57 | 58 | .PHONY: goreleaser-% 59 | goreleaser-%: 60 | @echo "building $(IMAGE_NAME)-$*" 61 | docker build --platform=linux/$* \ 62 | $(foreach IMAGE,$(IMAGE_NAMES),-t $(IMAGE)-$*) \ 63 | --build-arg BASE_VERSION=$(TAG_VERSION)-$* \ 64 | --build-arg GORELEASER_VERSION=$(GORELEASER_VERSION) \ 65 | . -f Dockerfile 66 | 67 | .PHONY: goreleaserpro-% 68 | goreleaserpro-%: 69 | @echo "building $(IMAGE_PRO_NAME)-$*" 70 | docker build --platform=linux/$* \ 71 | $(foreach IMAGE,$(IMAGE_PRO_NAMES),-t $(IMAGE)-$*) \ 72 | --build-arg BASE_VERSION=$(TAG_VERSION)-$* \ 73 | --build-arg GORELEASER_VERSION=$(GORELEASER_VERSION) \ 74 | --build-arg GORELEASER_DISTRIBUTION=-pro \ 75 | . -f Dockerfile 76 | 77 | .PHONY: base 78 | base: $(patsubst %, base-%,$(SUBIMAGES)) 79 | 80 | .PHONY: goreleaser 81 | goreleaser: $(patsubst %, goreleaser-%,$(SUBIMAGES)) 82 | 83 | .PHONY: goreleaserpro 84 | goreleaserpro: $(patsubst %, goreleaserpro-%,$(SUBIMAGES)) 85 | 86 | .PHONY: docker-push-base 87 | docker-push-base: 88 | @$(foreach IMAGE, $(IMAGE_BASE_TAGS), docker push $(IMAGE);) 89 | 90 | .PHONY: docker-push 91 | docker-push: 92 | @$(foreach IMAGE, $(IMAGE_TAGS), docker push $(IMAGE);) 93 | 94 | .PHONY: docker-pushpro 95 | docker-pushpro: 96 | @$(foreach IMAGE, $(IMAGE_PRO_TAGS), docker push $(IMAGE);) 97 | 98 | .PHONY: pull-toolchain-% 99 | pull-toolchain-%: 100 | @echo "pulling toolchain $(IMAGE_TOOLCHAINS)-$(@:pull-toolchain-%=%)" 101 | docker pull --platform=linux/$(@:pull-toolchain-%=%) $(IMAGE_TOOLCHAINS) 102 | docker tag $(IMAGE_TOOLCHAINS) $(IMAGE_TOOLCHAINS)-$(@:pull-toolchain-%=%) 103 | 104 | .PHONY: pull-toolchains 105 | pull-toolchains: $(patsubst %, pull-toolchain-%,$(SUBIMAGES)) 106 | 107 | .PHONY: manifest-create-base 108 | manifest-create-base: 109 | @echo "creating base manifests" 110 | @$(foreach IMAGE, $(IMAGE_BASE_NAMES), docker manifest rm $(IMAGE) 2>/dev/null || true;) 111 | @$(foreach IMAGE, $(IMAGE_BASE_NAMES), \ 112 | docker manifest create $(IMAGE) $(foreach arch,$(SUBIMAGES),\ 113 | $$(docker inspect $(IMAGE)-$(arch) | jq -r --arg image $$(echo $(IMAGE)-$(arch) | cut -d ':' -f 1) '.[].RepoDigests[] | select(. | startswith($$image))'));) 114 | 115 | .PHONY: manifest-create 116 | manifest-create: 117 | @echo "creating goreleaser manifests" 118 | @$(foreach IMAGE,$(IMAGE_NAMES),docker manifest rm $(IMAGE) 2>/dev/null || true;) 119 | @$(foreach IMAGE, $(IMAGE_NAMES), \ 120 | docker manifest create $(IMAGE) $(foreach arch,$(SUBIMAGES), \ 121 | $$(docker inspect $(IMAGE)-$(arch) | jq -r --arg image $$(echo $(IMAGE)-$(arch) | cut -d ':' -f 1) '.[].RepoDigests[] | select(. | startswith($$image))'));) 122 | 123 | .PHONY: manifest-createpro 124 | manifest-createpro: 125 | @echo "creating goreleaser pro manifests" 126 | @$(foreach IMAGE,$(IMAGE_PRO_NAMES),docker manifest rm $(IMAGE) 2>/dev/null || true;) 127 | @$(foreach IMAGE, $(IMAGE_PRO_NAMES), \ 128 | docker manifest create $(IMAGE) $(foreach arch,$(SUBIMAGES), \ 129 | $$(docker inspect $(IMAGE)-$(arch) | jq -r --arg image $$(echo $(IMAGE)-$(arch) | cut -d ':' -f 1) '.[].RepoDigests[] | select(. | startswith($$image))'));) 130 | 131 | .PHONY: manifest-push-base 132 | manifest-push-base: 133 | @echo "pushing base manifests" 134 | @$(foreach IMAGE,$(IMAGE_BASE_NAMES),docker manifest push $(IMAGE);) 135 | 136 | .PHONY: manifest-push 137 | manifest-push: 138 | @echo "pushing goreleaser manifests" 139 | @$(foreach IMAGE,$(IMAGE_NAMES),docker manifest push $(IMAGE);) 140 | 141 | .PHONY: manifest-pushpro 142 | manifest-pushpro: 143 | @echo "pushing goreleaser pro manifests" 144 | @$(foreach IMAGE,$(IMAGE_PRO_NAMES),docker manifest push $(IMAGE);) 145 | 146 | .PHONY: release-base 147 | release-base: base docker-push-base manifest-create-base manifest-push-base 148 | 149 | .PHONY: release-goreleaser 150 | release-goreleaser: goreleaser docker-push manifest-create manifest-push 151 | 152 | .PHONY: release-goreleaserpro 153 | release-goreleaserpro: goreleaserpro docker-pushpro manifest-createpro manifest-pushpro 154 | 155 | .PHONY: tags 156 | tags: 157 | @echo $(IMAGE_NAME) $(foreach arch,$(SUBIMAGES), $(IMAGE_NAME)-$(arch)) 158 | 159 | .PHONY: tag 160 | tag: 161 | @echo $(TAG_VERSION) 162 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # goreleaser-cross 2 | 3 | Docker container to turn CGO cross-compilation pain into a pleasure. It tested on [variety of platforms](#supported-toolchainsplatforms). 4 | [Custom sysroots](#sysroot-howto) also can be used. 5 | 6 | **Tip!** 7 | Should you wish to see working [examples](#examples) instead of reading 8 | 9 | ## Credits 10 | 11 | This project is rather a cookbook combining various projects into one. Special thanks to [osxcross](https://github.com/tpoechtrager/osxcross) for an amazing cross-compile environment for OSX. 12 | 13 | ## Docker 14 | 15 | Docker images are available on both [GitHub](https://ghcr.io/goreleaser/goreleaser-cross) and [Docker hub](https://hub.docker.com/r/goreleaser/goreleaser-cross). The image's tag version follows Golang 16 | release so if you use 1.19.4, you are effectively compiling your Go code using Golang at version 1.19.4. The actual version of the other tools installed within the Docker image like `goreleaser` can 17 | be found in the [latest releases](https://github.com/goreleaser/goreleaser-cross/releases). 18 | 19 | Images from version v1.17.4 are multi-arch. Supported hosts are listed in the table below. 20 | 21 | | Host | Supported | `CC` is set to | `CXX` is set to | 22 | |---------------------|:---------:|-----------------------|-----------------------| 23 | | amd64 | ✅ | x86_64-linux-gnu-gcc | x86_64-linux-gnu-g++ | 24 | | arm64 (aka aarch64) | ✅ | aarch64-linux-gnu-gcc | aarch64-linux-gnu-gcc | 25 | 26 | Below are additional environment variables to set when cross compiling with CGO. 27 | 28 | | Env variable | Value | Required | Notes | 29 | |--------------------------|-----------------------------------------------|:------------------------------:|----------------------------------------------------------------------------------------------------| 30 | | `CGO_ENABLED` | 1 | Yes | Instead of specifying it in each build it can be set globally during docker run `-e CGO_ENABLED=1` | 31 | | `CC` | [see targets](#supported-toolchainsplatforms) | Optional | | 32 | | `CXX` | [see targets](#supported-toolchainsplatforms) | Optional | | 33 | | `PKG_CONFIG_SYSROOT_DIR` | | Required if sysroot is present | | 34 | | `PKG_CONFIG_PATH` | | Optional | List of directories containing pkg-config files | 35 | 36 | - **PKG_CONFIG_SYSROOT_DIR** modifies `-I` and `-L` to use the directories located in target's sysroot. 37 | - The value of `PKG_CONFIG_SYSROOT_DIR` is prefixed to `-I` and `-L`. For instance `-I/usr/include/libfoo` becomes `-I/var/target/usr/include/libfoo` 38 | with a `PKG_CONFIG_SYSROOT_DIR` set to `/var/target` (same rule apply to `-L`) 39 | - **PKG_CONFIG_PATH** - A colon-separated list of directories to search for `.pc` files. 40 | 41 | ## Supported toolchains/platforms 42 | 43 | | Platform | Arch | CC | CXX | Verified | 44 | |----------------|-----------------|-----------------------------------------|-----------------------------------------|:---------------------:| 45 | | Darwin | amd64 | o64-clang | o64-clang++ | ✅ | 46 | | Darwin (M1/M2) | arm64 | oa64-clang | oa64-clang++ | ✅ | 47 | | Linux | amd64 | x86_64-linux-gnu-gcc | x86_64-linux-gnu-g++ | ✅ | 48 | | Linux | arm64 | aarch64-linux-gnu-gcc | aarch64-linux-gnu-g++ | ✅ | 49 | | Linux | armhf (GOARM=5) | arm-linux-gnueabihf-gcc | arm-linux-gnueabihf-g++ | Verification required | 50 | | Linux | armhf (GOARM=6) | arm-linux-gnueabihf-gcc | arm-linux-gnueabihf-g++ | Verification required | 51 | | Linux | armhf (GOARM=7) | arm-linux-gnueabihf-gcc | arm-linux-gnueabihf-g++ | ✅ | 52 | | Linux | s390x | s390x-linux-gnu-gcc | s390x-linux-gnu-g++ | ✅ | 53 | | Windows | amd64 | x86_64-w64-mingw32-gcc | x86_64-w64-mingw32-g++ | ✅ | 54 | | Windows | arm64 | /llvm-mingw/bin/aarch64-w64-mingw32-gcc | /llvm-mingw/bin/aarch64-w64-mingw32-g++ | ✅ | 55 | 56 | ## Docker 57 | 58 | ### Environment variables 59 | 60 | - [Goreleaser](https://github.com/goreleaser/goreleaser) variables 61 | - `GPG_KEY` (optional) - defaults to /secrets/key.gpg. ignored if file not found 62 | - `DOCKER_CREDS_FILE` (optional) - path to JSON file with docker login credentials. Useful when push to multiple docker registries required 63 | - `DOCKER_FAIL_ON_LOGIN_ERROR` (optional) - fail on docker login error 64 | 65 | ### Login to registry 66 | 67 | #### Github Actions 68 | 69 | Use [docker login](https://github.com/docker/login-action) to auth to repos and mount docker config file. For example: 70 | 71 | ```shell 72 | docker run -v $(HOME)/.docker/config.json:/root/.docker/config.json ... 73 | ``` 74 | 75 | #### Docker Creds file 76 | 77 | To login from within `goreleaser-cross` container create creds file. 78 | 79 | ```json 80 | { 81 | "registries": [ 82 | { 83 | "user": "", 84 | "pass": "", 85 | "registry": "" // for example ghcr.io 86 | } 87 | ] 88 | } 89 | ``` 90 | 91 | ## Sysroot howto 92 | 93 | Most reasonable way to make a sysroot seem to be rsync and [the example](https://github.com/goreleaser/goreleaser-cross-example) is using it. You may want to 94 | use [the script](https://github.com/goreleaser/goreleaser-cross/blob/master/scripts/sysroot-rsync.sh) to create sysroot for your desired setup. Lets consider creating sysroot for Raspberry Pi 4 95 | running Debian Buster. 96 | 97 | - install all required dev packages. for this example we will install libftdi1-dev, libusb-1.0-0-dev and opencv4 98 | ```bash 99 | ./sysroot-rsync.sh pi@ 100 | ``` 101 | 102 | ### sshfs 103 | 104 | Though `sshfs` is a good way to test sysroot before running rsync it introduces cons. Some packages are creating absolute links and thus pointing to wrong files when mounted ( 105 | or appear as broken). For example RPI4 running Debian Buster the library `/usr/lib/x86_x64-gnu-linux/libpthread.so` is symlink to `/lib/x86_x64-gnu-linux/libpthread.so` instead 106 | of `../../../lib/x86_x64-gnu-linux/libpthread.so`. 107 | 108 | ## Contributing 109 | 110 | Any contribution helping to make this project is welcome 111 | 112 | ## Examples 113 | 114 | - [Example described in this tutorial](https://github.com/goreleaser/goreleaser-cross-example) 115 | 116 | ## Projects using 117 | 118 | - [Akash](https://github.com/ovrclk/akash) 119 | -------------------------------------------------------------------------------- /changelog.yml: -------------------------------------------------------------------------------- 1 | - semver: 1.20.2 2 | date: 2023-03-07T13:11:25-05:00 3 | packager: goreleaser 4 | changes: 5 | - commit: 048a33d1c18644ba37767d9cb4c06fc047280036 6 | note: |- 7 | Merge pull request #34 from maraino/go-1.20.2 8 | 9 | Upgrade Go to 1.20.2 and goreleaser to 1.16.0 10 | author: 11 | name: Artur Troian 12 | email: troian.ap@gmail.com 13 | committer: 14 | name: GitHub 15 | email: noreply@github.com 16 | conventional_commit: 17 | category: chore 18 | scope: "" 19 | description: 'Merge pull request #34 from maraino/go-1.20.2' 20 | body: Upgrade Go to 1.20.2 and goreleaser to 1.16.0 21 | footer: [] 22 | major: false 23 | minor: false 24 | patch: false 25 | - commit: cdcbef3fe7750e6d7411a768a7d25b093a46b5ec 26 | note: Upgrade Go to 1.20.2 and goreleaser to 1.16.0 27 | author: 28 | name: Mariano Cano 29 | email: mariano.cano@gmail.com 30 | committer: 31 | name: Mariano Cano 32 | email: mariano.cano@gmail.com 33 | conventional_commit: 34 | category: chore 35 | scope: "" 36 | description: Upgrade Go to 1.20.2 and goreleaser to 1.16.0 37 | body: "" 38 | footer: [] 39 | major: false 40 | minor: false 41 | patch: false 42 | - commit: dfb50bca917d62460448cab0bf03625623f535cf 43 | note: |- 44 | Merge pull request #32 from dbussink/go-1-20-1 45 | 46 | Update to latest Go 1.20.1 47 | author: 48 | name: Artur Troian 49 | email: troian.ap@gmail.com 50 | committer: 51 | name: GitHub 52 | email: noreply@github.com 53 | conventional_commit: 54 | category: chore 55 | scope: "" 56 | description: 'Merge pull request #32 from dbussink/go-1-20-1' 57 | body: Update to latest Go 1.20.1 58 | footer: [] 59 | major: false 60 | minor: false 61 | patch: false 62 | - commit: 442dfb26d016fbcd6afa1c57a2969acb01939aac 63 | note: Update to latest Go 1.20.1 64 | author: 65 | name: Dirkjan Bussink 66 | email: d.bussink@gmail.com 67 | committer: 68 | name: Dirkjan Bussink 69 | email: d.bussink@gmail.com 70 | conventional_commit: 71 | category: chore 72 | scope: "" 73 | description: Update to latest Go 1.20.1 74 | body: "" 75 | footer: [] 76 | major: false 77 | minor: false 78 | patch: false 79 | - semver: 1.20.0 80 | date: 2023-02-15T10:41:53-05:00 81 | packager: goreleaser 82 | changes: 83 | - commit: 570a48ba9280fd703d147d67b571b4731d65fdff 84 | note: 'fix: add dash to image tags' 85 | author: 86 | name: Artur Troian 87 | email: troian.ap@gmail.com 88 | committer: 89 | name: Artur Troian 90 | email: troian.ap@gmail.com 91 | conventional_commit: 92 | category: fix 93 | scope: "" 94 | description: add dash to image tags 95 | body: "" 96 | footer: [] 97 | major: false 98 | minor: false 99 | patch: true 100 | - commit: a9a8ffb525f7dc756224dcd83cecceebe7b5ad8d 101 | note: 'docs(readme): list s390x arch as supported' 102 | author: 103 | name: Artur Troian 104 | email: troian.ap@gmail.com 105 | committer: 106 | name: Artur Troian 107 | email: troian.ap@gmail.com 108 | conventional_commit: 109 | category: docs 110 | scope: readme 111 | description: list s390x arch as supported 112 | body: "" 113 | footer: [] 114 | major: false 115 | minor: false 116 | patch: true 117 | - commit: 662e3b898ce7ced408ba11b706adb25d205498a5 118 | note: 'fix: missing TAG_VERSION' 119 | author: 120 | name: Artur Troian 121 | email: troian.ap@gmail.com 122 | committer: 123 | name: Artur Troian 124 | email: troian.ap@gmail.com 125 | conventional_commit: 126 | category: fix 127 | scope: "" 128 | description: missing TAG_VERSION 129 | body: "" 130 | footer: [] 131 | major: false 132 | minor: false 133 | patch: true 134 | - commit: 45adc846328f94b76feadc827361538af577a81f 135 | note: 'fix: update toolchains version and osxcross path' 136 | author: 137 | name: Artur Troian 138 | email: troian.ap@gmail.com 139 | committer: 140 | name: Artur Troian 141 | email: troian.ap@gmail.com 142 | conventional_commit: 143 | category: fix 144 | scope: "" 145 | description: update toolchains version and osxcross path 146 | body: "" 147 | footer: [] 148 | major: false 149 | minor: false 150 | patch: true 151 | - commit: f2ef3863f16612ddb60391b79effb16f4ca76aea 152 | note: 'feat: bump goreleaser v1.15.2' 153 | author: 154 | name: Artur Troian 155 | email: troian.ap@gmail.com 156 | committer: 157 | name: Artur Troian 158 | email: troian.ap@gmail.com 159 | conventional_commit: 160 | category: feat 161 | scope: "" 162 | description: bump goreleaser v1.15.2 163 | body: "" 164 | footer: [] 165 | major: false 166 | minor: true 167 | patch: false 168 | - commit: 1cddb257232815a82c1198e40bf4fffd4a4e52a8 169 | note: 'fix: remove ghcr.io prefix from toolchains var' 170 | author: 171 | name: Artur Troian 172 | email: troian.ap@gmail.com 173 | committer: 174 | name: Artur Troian 175 | email: troian.ap@gmail.com 176 | conventional_commit: 177 | category: fix 178 | scope: "" 179 | description: remove ghcr.io prefix from toolchains var 180 | body: "" 181 | footer: [] 182 | major: false 183 | minor: false 184 | patch: true 185 | - commit: eb0d176699fd77cf79663834c746dad9ba3b9327 186 | note: 'feat: add pull-toolchain target' 187 | author: 188 | name: Artur Troian 189 | email: troian.ap@gmail.com 190 | committer: 191 | name: Artur Troian 192 | email: troian.ap@gmail.com 193 | conventional_commit: 194 | category: feat 195 | scope: "" 196 | description: add pull-toolchain target 197 | body: "" 198 | footer: [] 199 | major: false 200 | minor: true 201 | patch: false 202 | - commit: ca047b8db4c586eac00161f1b3e94352d7baceb8 203 | note: 'feat: go1.20' 204 | author: 205 | name: Artur Troian 206 | email: troian.ap@gmail.com 207 | committer: 208 | name: Artur Troian 209 | email: troian.ap@gmail.com 210 | conventional_commit: 211 | category: feat 212 | scope: "" 213 | description: go1.20 214 | body: "" 215 | footer: [] 216 | major: false 217 | minor: true 218 | patch: false 219 | - commit: f12e6938e532c0250a7396cccca31f01e1101375 220 | note: 'doc: format tables. fix anchor for supported toolchains' 221 | author: 222 | name: Artur Troian 223 | email: troian.ap@gmail.com 224 | committer: 225 | name: Artur Troian 226 | email: troian.ap@gmail.com 227 | conventional_commit: 228 | category: doc 229 | scope: "" 230 | description: format tables. fix anchor for supported toolchains 231 | body: "" 232 | footer: [] 233 | major: false 234 | minor: false 235 | patch: false 236 | - commit: b5307a7bb20eb08ac1a42e0cc5f75a5b3e849137 237 | note: 'doc: update PATH to llvm-mingw' 238 | author: 239 | name: Artur Troian 240 | email: troian.ap@gmail.com 241 | committer: 242 | name: Artur Troian 243 | email: troian.ap@gmail.com 244 | conventional_commit: 245 | category: doc 246 | scope: "" 247 | description: update PATH to llvm-mingw 248 | body: "" 249 | footer: [] 250 | major: false 251 | minor: false 252 | patch: false 253 | - semver: 1.19.5 254 | date: 2023-02-07T07:06:49-05:00 255 | packager: goreleaser 256 | changes: 257 | - commit: 903176d911a16582282727f10b358c2f18b795d5 258 | note: 'feat: split toolchains into separate repo' 259 | author: 260 | name: Artur Troian 261 | email: troian.ap@gmail.com 262 | committer: 263 | name: Artur Troian 264 | email: troian.ap@gmail.com 265 | conventional_commit: 266 | category: feat 267 | scope: "" 268 | description: split toolchains into separate repo 269 | body: "" 270 | footer: [] 271 | major: false 272 | minor: true 273 | patch: false 274 | - commit: 75448e274aa2aa088fb3ba69dad13de1e773cda7 275 | note: |- 276 | Merge pull request #21 from maraino/go-1.19.5 277 | 278 | Update Go to 1.19.5 279 | author: 280 | name: Artur Troian 281 | email: troian.ap@gmail.com 282 | committer: 283 | name: GitHub 284 | email: noreply@github.com 285 | conventional_commit: 286 | category: chore 287 | scope: "" 288 | description: 'Merge pull request #21 from maraino/go-1.19.5' 289 | body: Update Go to 1.19.5 290 | footer: [] 291 | major: false 292 | minor: false 293 | patch: false 294 | - commit: 17337697fe127abbd60e2aa611a79211c3d79010 295 | note: |- 296 | Update Go to 1.19.5 297 | 298 | This commit updates Go to version 1.19.5 299 | author: 300 | name: Mariano Cano 301 | email: mariano.cano@gmail.com 302 | committer: 303 | name: Mariano Cano 304 | email: mariano.cano@gmail.com 305 | conventional_commit: 306 | category: chore 307 | scope: "" 308 | description: Update Go to 1.19.5 309 | body: This commit updates Go to version 1.19.5 310 | footer: [] 311 | major: false 312 | minor: false 313 | patch: false 314 | - commit: 0907e3e8efad8dc9bac8ae379feade21149b20d1 315 | note: 'refactor: dispatch input' 316 | author: 317 | name: Artur Troian 318 | email: troian.ap@gmail.com 319 | committer: 320 | name: Artur Troian 321 | email: troian.ap@gmail.com 322 | conventional_commit: 323 | category: refactor 324 | scope: "" 325 | description: dispatch input 326 | body: "" 327 | footer: [] 328 | major: false 329 | minor: false 330 | patch: true 331 | - semver: 1.19.4 332 | date: 2023-01-08T19:13:19Z 333 | packager: goreleaser 334 | changes: 335 | - commit: 1639c52366900337c6d5bdae6a47d551c3e9798a 336 | note: 'feat: bump goreleaser to v1.14.1' 337 | author: 338 | name: github-actions 339 | email: github-actions@github.com 340 | committer: 341 | name: github-actions 342 | email: github-actions@github.com 343 | conventional_commit: 344 | category: feat 345 | scope: "" 346 | description: bump goreleaser to v1.14.1 347 | body: "" 348 | footer: [] 349 | major: false 350 | minor: true 351 | patch: false 352 | - commit: 686944cda31152bb6af1e148e81939d83bebc839 353 | note: 'feat: bump goreleaser to v1.14.0' 354 | author: 355 | name: github-actions 356 | email: github-actions@github.com 357 | committer: 358 | name: github-actions 359 | email: github-actions@github.com 360 | conventional_commit: 361 | category: feat 362 | scope: "" 363 | description: bump goreleaser to v1.14.0 364 | body: "" 365 | footer: [] 366 | major: false 367 | minor: true 368 | patch: false 369 | - commit: eed370721b7d0d25aba52df815eabdba5c2d2096 370 | note: 'feat: bump goreleaser on dispatch event from goreleaser repo' 371 | author: 372 | name: Artur Troian 373 | email: troian.ap@gmail.com 374 | committer: 375 | name: Artur Troian 376 | email: troian.ap@gmail.com 377 | conventional_commit: 378 | category: feat 379 | scope: "" 380 | description: bump goreleaser on dispatch event from goreleaser repo 381 | body: "" 382 | footer: [] 383 | major: false 384 | minor: true 385 | patch: false 386 | - commit: e572b55ed67ef9160b8fd9f37923365fdfa6e542 387 | note: 'feat: upgrade to goreleaser 1.14.1 (#19)' 388 | author: 389 | name: Ori Rawlings 390 | email: orirawlings@gmail.com 391 | committer: 392 | name: GitHub 393 | email: noreply@github.com 394 | conventional_commit: 395 | category: feat 396 | scope: "" 397 | description: upgrade to goreleaser 1.14.1 (#19) 398 | body: "" 399 | footer: [] 400 | major: false 401 | minor: true 402 | patch: false 403 | - commit: 6b44d06c575eededff14386e5d440d5bed0cfb40 404 | note: |- 405 | Merge pull request #18 from dbussink/go-1-19-4 406 | 407 | Update to Go 1.19.4 and latest goreleaser 408 | author: 409 | name: Artur Troian 410 | email: troian.ap@gmail.com 411 | committer: 412 | name: GitHub 413 | email: noreply@github.com 414 | conventional_commit: 415 | category: chore 416 | scope: "" 417 | description: 'Merge pull request #18 from dbussink/go-1-19-4' 418 | body: Update to Go 1.19.4 and latest goreleaser 419 | footer: [] 420 | major: false 421 | minor: false 422 | patch: false 423 | - commit: 6df4a9941a3a05e94f1b5f629d49c865d7843130 424 | note: |- 425 | Update to Go 1.19.4 and latest goreleaser 426 | 427 | Updates Go to 1.19.4 and goreleaser to 1.13.1 428 | author: 429 | name: Dirkjan Bussink 430 | email: d.bussink@gmail.com 431 | committer: 432 | name: Dirkjan Bussink 433 | email: d.bussink@gmail.com 434 | conventional_commit: 435 | category: chore 436 | scope: "" 437 | description: Update to Go 1.19.4 and latest goreleaser 438 | body: Updates Go to 1.19.4 and goreleaser to 1.13.1 439 | footer: [] 440 | major: false 441 | minor: false 442 | patch: false 443 | - commit: 98bccd6c16c8ad9d898a0f53a44bb1a80bb5f81f 444 | note: |- 445 | Merge pull request #17 from HenryNguyen5/chore/update_documentation 446 | 447 | Make CC and CXX vars host architecture independent 448 | author: 449 | name: Artur Troian 450 | email: troian.ap@gmail.com 451 | committer: 452 | name: GitHub 453 | email: noreply@github.com 454 | conventional_commit: 455 | category: chore 456 | scope: "" 457 | description: 'Merge pull request #17 from HenryNguyen5/chore/update_documentation' 458 | body: Make CC and CXX vars host architecture independent 459 | footer: [] 460 | major: false 461 | minor: false 462 | patch: false 463 | - commit: e213109b679008c39644bf7928af48687840bec9 464 | note: Revert credits change 465 | author: 466 | name: HenryNguyen5 467 | email: 6404866+HenryNguyen5@users.noreply.github.com 468 | committer: 469 | name: HenryNguyen5 470 | email: 6404866+HenryNguyen5@users.noreply.github.com 471 | conventional_commit: 472 | category: chore 473 | scope: "" 474 | description: Revert credits change 475 | body: "" 476 | footer: [] 477 | major: false 478 | minor: false 479 | patch: false 480 | - commit: cb688adfb7967f18bf9cb6776eab6bedca12b922 481 | note: Grammar and spacing fixes 482 | author: 483 | name: HenryNguyen5 484 | email: 6404866+HenryNguyen5@users.noreply.github.com 485 | committer: 486 | name: HenryNguyen5 487 | email: 6404866+HenryNguyen5@users.noreply.github.com 488 | conventional_commit: 489 | category: chore 490 | scope: "" 491 | description: Grammar and spacing fixes 492 | body: "" 493 | footer: [] 494 | major: false 495 | minor: false 496 | patch: false 497 | - commit: 9f2bf1e4e996c232c69fb1610e7737337b627477 498 | note: Make formatting consistent 499 | author: 500 | name: HenryNguyen5 501 | email: 6404866+HenryNguyen5@users.noreply.github.com 502 | committer: 503 | name: HenryNguyen5 504 | email: 6404866+HenryNguyen5@users.noreply.github.com 505 | conventional_commit: 506 | category: chore 507 | scope: "" 508 | description: Make formatting consistent 509 | body: "" 510 | footer: [] 511 | major: false 512 | minor: false 513 | patch: false 514 | - commit: 351cce2552aaf599f6c0f92c114d9e781362e2db 515 | note: Make CC/CXX references host platform independent 516 | author: 517 | name: HenryNguyen5 518 | email: 6404866+HenryNguyen5@users.noreply.github.com 519 | committer: 520 | name: HenryNguyen5 521 | email: 6404866+HenryNguyen5@users.noreply.github.com 522 | conventional_commit: 523 | category: chore 524 | scope: "" 525 | description: Make CC/CXX references host platform independent 526 | body: "" 527 | footer: [] 528 | major: false 529 | minor: false 530 | patch: false 531 | - commit: c7a1806b4b51bd86c2ae4b55285e9a301ecc5a93 532 | note: |- 533 | Merge pull request #16 from goreleaser/issue-15 534 | 535 | feat(arch): add s390x support 536 | author: 537 | name: Artur Troian 538 | email: troian.ap@gmail.com 539 | committer: 540 | name: GitHub 541 | email: noreply@github.com 542 | conventional_commit: 543 | category: |- 544 | Merge pull request #16 from goreleaser/issue-15 545 | 546 | feat 547 | scope: arch 548 | description: add s390x support 549 | body: "" 550 | footer: [] 551 | major: false 552 | minor: false 553 | patch: false 554 | - commit: 23f430cacce9ae9528541e88e092ec95a4924edf 555 | note: |- 556 | feat(arch): add s390x support 557 | 558 | refs #15 559 | author: 560 | name: Artur Troian 561 | email: troian.ap@gmail.com 562 | committer: 563 | name: Artur Troian 564 | email: troian.ap@gmail.com 565 | conventional_commit: 566 | category: feat 567 | scope: arch 568 | description: add s390x support 569 | body: "" 570 | footer: 571 | - 'refs #15' 572 | major: false 573 | minor: true 574 | patch: false 575 | - commit: 829a271d3d0ff5f0f36f3552b4f6a4af3062374f 576 | note: |- 577 | ci(release): dry-run release on push to master 578 | 579 | sign images 580 | author: 581 | name: Artur Troian 582 | email: troian.ap@gmail.com 583 | committer: 584 | name: Artur Troian 585 | email: troian.ap@gmail.com 586 | conventional_commit: 587 | category: ci 588 | scope: release 589 | description: dry-run release on push to master 590 | body: sign images 591 | footer: [] 592 | major: false 593 | minor: false 594 | patch: false 595 | - semver: 1.19.3 596 | date: 2022-11-01T22:05:33-04:00 597 | packager: goreleaser 598 | changes: 599 | - commit: e138e371e4b8359e746cbc173406d3e0780f5df3 600 | note: |- 601 | Merge pull request #13 from maraino/go-1.19.3 602 | 603 | Upgrade versions of go, goreleaser, and cosign 604 | author: 605 | name: Artur Troian 606 | email: troian.ap@gmail.com 607 | committer: 608 | name: GitHub 609 | email: noreply@github.com 610 | conventional_commit: 611 | category: chore 612 | scope: "" 613 | description: 'Merge pull request #13 from maraino/go-1.19.3' 614 | body: Upgrade versions of go, goreleaser, and cosign 615 | footer: [] 616 | major: false 617 | minor: false 618 | patch: false 619 | - commit: 16d92168e657a2500e0b17a27c75a72cb3205664 620 | note: |- 621 | Upgrade versions of go, goreleaser, and cosign 622 | 623 | It upgrades Go to 1.19.3, goreleaser to 1.12.3, and cosign to 1.13.1. 624 | 625 | The cosign verify-blob command requires the environment variable 626 | COSIGN_EXPERIMENTAL=1 to be able to verify using a certificate. 627 | author: 628 | name: Mariano Cano 629 | email: mariano.cano@gmail.com 630 | committer: 631 | name: Mariano Cano 632 | email: mariano.cano@gmail.com 633 | conventional_commit: 634 | category: chore 635 | scope: "" 636 | description: Upgrade versions of go, goreleaser, and cosign 637 | body: |- 638 | It upgrades Go to 1.19.3, goreleaser to 1.12.3, and cosign to 1.13.1. 639 | 640 | The cosign verify-blob command requires the environment variable 641 | COSIGN_EXPERIMENTAL=1 to be able to verify using a certificate. 642 | footer: [] 643 | major: false 644 | minor: false 645 | patch: false 646 | - commit: 6ee68a94f140791df2bfea54f91a1529a0d106d9 647 | note: 'docs(readme): update docker login steps' 648 | author: 649 | name: Artur Troian 650 | email: troian.ap@gmail.com 651 | committer: 652 | name: Artur Troian 653 | email: troian.ap@gmail.com 654 | conventional_commit: 655 | category: docs 656 | scope: readme 657 | description: update docker login steps 658 | body: "" 659 | footer: [] 660 | major: false 661 | minor: false 662 | patch: true 663 | - semver: 1.19.2 664 | date: 2022-10-09T18:19:18-05:00 665 | packager: goreleaser 666 | changes: 667 | - commit: 20788da41efdac413fb92ea8f345284ff955dd1c 668 | note: |- 669 | Merge pull request #11 from maraino/patch-1 670 | 671 | Upgrade to Go 1.19.2 672 | author: 673 | name: Artur Troian 674 | email: troian.ap@gmail.com 675 | committer: 676 | name: GitHub 677 | email: noreply@github.com 678 | conventional_commit: 679 | category: chore 680 | scope: "" 681 | description: 'Merge pull request #11 from maraino/patch-1' 682 | body: Upgrade to Go 1.19.2 683 | footer: [] 684 | major: false 685 | minor: false 686 | patch: false 687 | - commit: 6137f267f01c7238423b8465bdf34bff472e5dce 688 | note: Upgrade goreleaser verstion to 1.11.5 689 | author: 690 | name: Mariano Cano 691 | email: mariano.cano@gmail.com 692 | committer: 693 | name: Mariano Cano 694 | email: mariano.cano@gmail.com 695 | conventional_commit: 696 | category: chore 697 | scope: "" 698 | description: Upgrade goreleaser verstion to 1.11.5 699 | body: "" 700 | footer: [] 701 | major: false 702 | minor: false 703 | patch: false 704 | - commit: 8c65ec7653196e3f7e5190e918e6abc527e3917f 705 | note: Upgrade to Go 1.19.2 706 | author: 707 | name: Mariano Cano 708 | email: mariano.cano@gmail.com 709 | committer: 710 | name: GitHub 711 | email: noreply@github.com 712 | conventional_commit: 713 | category: chore 714 | scope: "" 715 | description: Upgrade to Go 1.19.2 716 | body: "" 717 | footer: [] 718 | major: false 719 | minor: false 720 | patch: false 721 | - semver: 1.19.1 722 | date: 2022-10-06T10:46:04-05:00 723 | packager: goreleaser 724 | changes: 725 | - commit: b5b9b7cccea89d31d07ebe4113b4991536c229ed 726 | note: |- 727 | feat: parse docker creds from json config 728 | 729 | install jq 730 | author: 731 | name: Artur Troian 732 | email: troian.ap@gmail.com 733 | committer: 734 | name: Artur Troian 735 | email: troian.ap@gmail.com 736 | conventional_commit: 737 | category: feat 738 | scope: "" 739 | description: parse docker creds from json config 740 | body: install jq 741 | footer: [] 742 | major: false 743 | minor: true 744 | patch: false 745 | - commit: 9378ed88243678094f83931b8856346eb45a6da0 746 | note: 'fix(goreleaser): bump to v1.11.4' 747 | author: 748 | name: Artur Troian 749 | email: troian.ap@gmail.com 750 | committer: 751 | name: Artur Troian 752 | email: troian.ap@gmail.com 753 | conventional_commit: 754 | category: fix 755 | scope: goreleaser 756 | description: bump to v1.11.4 757 | body: "" 758 | footer: [] 759 | major: false 760 | minor: false 761 | patch: true 762 | - commit: 426c25a9bb55b9452b7ceacefd17d623b76c3f61 763 | note: |- 764 | Merge pull request #10 from gsoltis/symlink_mingw 765 | 766 | Fix llvm-mingw for amd64 767 | author: 768 | name: Artur Troian 769 | email: troian.ap@gmail.com 770 | committer: 771 | name: GitHub 772 | email: noreply@github.com 773 | conventional_commit: 774 | category: chore 775 | scope: "" 776 | description: 'Merge pull request #10 from gsoltis/symlink_mingw' 777 | body: Fix llvm-mingw for amd64 778 | footer: [] 779 | major: false 780 | minor: false 781 | patch: false 782 | - commit: 44367a990d16a45c7041e1fc3be3cc66d4eab28f 783 | note: Remove base manifest from manifest-create target 784 | author: 785 | name: Greg Soltis 786 | email: greg.soltis@vercel.com 787 | committer: 788 | name: Greg Soltis 789 | email: greg.soltis@vercel.com 790 | conventional_commit: 791 | category: chore 792 | scope: "" 793 | description: Remove base manifest from manifest-create target 794 | body: "" 795 | footer: [] 796 | major: false 797 | minor: false 798 | patch: false 799 | - commit: 002b60b654777280c9ff982dd2fdaef7d97ea1dc 800 | note: Download correct mingw based on architecture, symlink so path is identical 801 | author: 802 | name: Greg Soltis 803 | email: greg.soltis@vercel.com 804 | committer: 805 | name: Greg Soltis 806 | email: greg.soltis@vercel.com 807 | conventional_commit: 808 | category: chore 809 | scope: "" 810 | description: Download correct mingw based on architecture, symlink so path is identical 811 | body: "" 812 | footer: [] 813 | major: false 814 | minor: false 815 | patch: false 816 | - commit: 6a6639d6e80b4b0f2d351a47ae1cb590132d94e0 817 | note: |- 818 | Merge pull request #9 from gsoltis/add_win_arm64 819 | 820 | Add llvm-based mingw-w64 that supports aarch64 821 | author: 822 | name: Artur Troian 823 | email: troian.ap@gmail.com 824 | committer: 825 | name: GitHub 826 | email: noreply@github.com 827 | conventional_commit: 828 | category: chore 829 | scope: "" 830 | description: 'Merge pull request #9 from gsoltis/add_win_arm64' 831 | body: Add llvm-based mingw-w64 that supports aarch64 832 | footer: [] 833 | major: false 834 | minor: false 835 | patch: false 836 | - commit: e286ce0ee023a65f7e0edc835ddd10e68cf3208f 837 | note: Always include llvm-based mingw-w64 838 | author: 839 | name: Greg Soltis 840 | email: greg.soltis@vercel.com 841 | committer: 842 | name: Greg Soltis 843 | email: greg.soltis@vercel.com 844 | conventional_commit: 845 | category: chore 846 | scope: "" 847 | description: Always include llvm-based mingw-w64 848 | body: "" 849 | footer: [] 850 | major: false 851 | minor: false 852 | patch: false 853 | - commit: 0589d5a523468c55ef990510326d30394fd8eba5 854 | note: Add -base suffix to relevant targets in Makefile 855 | author: 856 | name: Greg Soltis 857 | email: greg.soltis@vercel.com 858 | committer: 859 | name: Greg Soltis 860 | email: greg.soltis@vercel.com 861 | conventional_commit: 862 | category: chore 863 | scope: "" 864 | description: Add -base suffix to relevant targets in Makefile 865 | body: "" 866 | footer: [] 867 | major: false 868 | minor: false 869 | patch: false 870 | - commit: 6489c368a84bc1c4ecb30e782a33ef8838842989 871 | note: Add llvm-based mingw-w64 that supports aarch64 872 | author: 873 | name: Greg Soltis 874 | email: greg.soltis@vercel.com 875 | committer: 876 | name: Greg Soltis 877 | email: greg.soltis@vercel.com 878 | conventional_commit: 879 | category: chore 880 | scope: "" 881 | description: Add llvm-based mingw-w64 that supports aarch64 882 | body: "" 883 | footer: [] 884 | major: false 885 | minor: false 886 | patch: false 887 | - commit: 9658f4bd4d71c12cd460d7bd5920d811f000c7aa 888 | note: |- 889 | feat: go1.19.1 890 | 891 | bump goreleaser v1.11.2 892 | bump cosign 1.11.1 893 | author: 894 | name: Artur Troian 895 | email: troian.ap@gmail.com 896 | committer: 897 | name: Artur Troian 898 | email: troian.ap@gmail.com 899 | conventional_commit: 900 | category: feat 901 | scope: "" 902 | description: go1.19.1 903 | body: |- 904 | bump goreleaser v1.11.2 905 | bump cosign 1.11.1 906 | footer: [] 907 | major: false 908 | minor: true 909 | patch: false 910 | - semver: 1.19.0 911 | date: 2022-08-08T20:22:04-04:00 912 | packager: goreleaser 913 | changes: 914 | - commit: a59bcb22f1680b42f618b4d39d78b8a86dba77f7 915 | note: 'ci: bump actions versions' 916 | author: 917 | name: Artur Troian 918 | email: troian.ap@gmail.com 919 | committer: 920 | name: Artur Troian 921 | email: troian.ap@gmail.com 922 | conventional_commit: 923 | category: ci 924 | scope: "" 925 | description: bump actions versions 926 | body: "" 927 | footer: [] 928 | major: false 929 | minor: false 930 | patch: false 931 | - commit: 199d12a7a1e1d0c83d712ee141c8d1b0ae590c85 932 | note: |- 933 | feat: go 1.19 934 | 935 | bump goreleaser to v1.10.3 936 | author: 937 | name: Artur Troian 938 | email: troian.ap@gmail.com 939 | committer: 940 | name: Artur Troian 941 | email: troian.ap@gmail.com 942 | conventional_commit: 943 | category: feat 944 | scope: "" 945 | description: go 1.19 946 | body: bump goreleaser to v1.10.3 947 | footer: [] 948 | major: false 949 | minor: true 950 | patch: false 951 | - commit: 16e987a9a8634d85d55bd2ba28d3abeaff93f9d1 952 | note: |- 953 | Merge pull request #6 from goreleaser/readme 954 | 955 | docs(readme): mark windows as verified 956 | author: 957 | name: Artur Troian 958 | email: troian@users.noreply.github.com 959 | committer: 960 | name: GitHub 961 | email: noreply@github.com 962 | conventional_commit: 963 | category: |- 964 | Merge pull request #6 from goreleaser/readme 965 | 966 | docs 967 | scope: readme 968 | description: mark windows as verified 969 | body: "" 970 | footer: [] 971 | major: false 972 | minor: false 973 | patch: false 974 | - commit: 7d6e92136f846a6c843eb8509041febea5532957 975 | note: |- 976 | docs(readme): mark windows as verified 977 | 978 | ref #3 979 | author: 980 | name: Artur Troian 981 | email: troian@users.noreply.github.com 982 | committer: 983 | name: GitHub 984 | email: noreply@github.com 985 | conventional_commit: 986 | category: docs 987 | scope: readme 988 | description: mark windows as verified 989 | body: "" 990 | footer: 991 | - 'ref #3' 992 | major: false 993 | minor: false 994 | patch: true 995 | - semver: 1.18.3 996 | date: 2022-06-10T13:01:03-04:00 997 | packager: goreleaser 998 | changes: 999 | - commit: 5c457d16701fcc1b783c65b854ac5dfcb3a8b716 1000 | note: |- 1001 | feat: go1.18.3 goreleaser v1.9.2 1002 | 1003 | update cosign to 1.9.0 1004 | author: 1005 | name: Artur Troian 1006 | email: troian.ap@gmail.com 1007 | committer: 1008 | name: Artur Troian 1009 | email: troian.ap@gmail.com 1010 | conventional_commit: 1011 | category: feat 1012 | scope: "" 1013 | description: go1.18.3 goreleaser v1.9.2 1014 | body: update cosign to 1.9.0 1015 | footer: [] 1016 | major: false 1017 | minor: true 1018 | patch: false 1019 | - semver: 1.18.2 1020 | date: 2022-05-18T19:49:14-04:00 1021 | packager: goreleaser 1022 | changes: 1023 | - commit: 5e7198273506b23ce5f616bf95e1afefeceb95bf 1024 | note: |- 1025 | Merge pull request #1 from goreleaser/bump-goreleaser 1026 | 1027 | feat: update to goreleaser v1.9.0 1028 | author: 1029 | name: Artur Troian 1030 | email: troian@users.noreply.github.com 1031 | committer: 1032 | name: GitHub 1033 | email: noreply@github.com 1034 | conventional_commit: 1035 | category: |- 1036 | Merge pull request #1 from goreleaser/bump-goreleaser 1037 | 1038 | feat 1039 | scope: "" 1040 | description: update to goreleaser v1.9.0 1041 | body: "" 1042 | footer: [] 1043 | major: false 1044 | minor: false 1045 | patch: false 1046 | - commit: 8bb8fe07f8546a2e48eea24d8b5e73dd5879ac1a 1047 | note: 'feat: update to goreleaser v1.9.0' 1048 | author: 1049 | name: Carlos A Becker 1050 | email: caarlos0@users.noreply.github.com 1051 | committer: 1052 | name: Carlos A Becker 1053 | email: caarlos0@users.noreply.github.com 1054 | conventional_commit: 1055 | category: feat 1056 | scope: "" 1057 | description: update to goreleaser v1.9.0 1058 | body: "" 1059 | footer: [] 1060 | major: false 1061 | minor: true 1062 | patch: false 1063 | - commit: 183e72516e8411154fed0a45cfe8cc1e852b662c 1064 | note: 'feat: go1.18.2 goreleaser 1.8.3' 1065 | author: 1066 | name: Artur Troian 1067 | email: troian.ap@gmail.com 1068 | committer: 1069 | name: Artur Troian 1070 | email: troian.ap@gmail.com 1071 | conventional_commit: 1072 | category: feat 1073 | scope: "" 1074 | description: go1.18.2 goreleaser 1.8.3 1075 | body: "" 1076 | footer: [] 1077 | major: false 1078 | minor: true 1079 | patch: false 1080 | - semver: 1.18.1 1081 | date: 2022-04-17T13:58:08-04:00 1082 | packager: goreleaser 1083 | changes: 1084 | - commit: 0b47bace3db4b97bd7bc5436ee60855d75a59042 1085 | note: |- 1086 | feat: goreleaser v1.8.2 1087 | 1088 | update cosign to v1.7.2 1089 | author: 1090 | name: Artur Troian 1091 | email: troian.ap@gmail.com 1092 | committer: 1093 | name: Artur Troian 1094 | email: troian.ap@gmail.com 1095 | conventional_commit: 1096 | category: feat 1097 | scope: "" 1098 | description: goreleaser v1.8.2 1099 | body: update cosign to v1.7.2 1100 | footer: [] 1101 | major: false 1102 | minor: true 1103 | patch: false 1104 | - commit: c2b4c705c73d60767a373a80af102c7e2a68b574 1105 | note: 'feat: go1.18.1' 1106 | author: 1107 | name: Artur Troian 1108 | email: troian.ap@gmail.com 1109 | committer: 1110 | name: Artur Troian 1111 | email: troian.ap@gmail.com 1112 | conventional_commit: 1113 | category: feat 1114 | scope: "" 1115 | description: go1.18.1 1116 | body: "" 1117 | footer: [] 1118 | major: false 1119 | minor: true 1120 | patch: false 1121 | - semver: 1.18.0 1122 | date: 2022-03-22T12:42:29-04:00 1123 | packager: goreleaser 1124 | changes: 1125 | - commit: 4650ae6257a98650f4e4735a52b850e29e09d7ad 1126 | note: 'feat: goreleaser v1.7.1' 1127 | author: 1128 | name: Artur Troian 1129 | email: troian.ap@gmail.com 1130 | committer: 1131 | name: Artur Troian 1132 | email: troian.ap@gmail.com 1133 | conventional_commit: 1134 | category: feat 1135 | scope: "" 1136 | description: goreleaser v1.7.1 1137 | body: "" 1138 | footer: [] 1139 | major: false 1140 | minor: true 1141 | patch: false 1142 | - commit: 8a6a327a9bcda7a64a5cabf7d107710794352131 1143 | note: 'doc: tidy up readme' 1144 | author: 1145 | name: Artur Troian 1146 | email: troian.ap@gmail.com 1147 | committer: 1148 | name: Artur Troian 1149 | email: troian.ap@gmail.com 1150 | conventional_commit: 1151 | category: doc 1152 | scope: "" 1153 | description: tidy up readme 1154 | body: "" 1155 | footer: [] 1156 | major: false 1157 | minor: false 1158 | patch: false 1159 | - semver: 1.17.8 1160 | date: 2022-03-04T11:52:34-05:00 1161 | packager: goreleaser 1162 | changes: 1163 | - commit: 2987b0bc271a02524f4d196f997c1132400bc923 1164 | note: 'feat: go1.17.8' 1165 | author: 1166 | name: Artur Troian 1167 | email: troian.ap@gmail.com 1168 | committer: 1169 | name: Artur Troian 1170 | email: troian.ap@gmail.com 1171 | conventional_commit: 1172 | category: feat 1173 | scope: "" 1174 | description: go1.17.8 1175 | body: "" 1176 | footer: [] 1177 | major: false 1178 | minor: true 1179 | patch: false 1180 | - semver: 1.17.7 1181 | date: 2022-03-02T09:56:53-05:00 1182 | packager: goreleaser 1183 | changes: 1184 | - commit: 72e7072230dd523659bef381caa550452bf0dbdc 1185 | note: 'feat: go1.17.7 goreleaser 1.5.0' 1186 | author: 1187 | name: Artur Troian 1188 | email: troian.ap@gmail.com 1189 | committer: 1190 | name: Artur Troian 1191 | email: troian.ap@gmail.com 1192 | conventional_commit: 1193 | category: feat 1194 | scope: "" 1195 | description: go1.17.7 goreleaser 1.5.0 1196 | body: "" 1197 | footer: [] 1198 | major: false 1199 | minor: true 1200 | patch: false 1201 | - semver: 1.17.6 1202 | date: 2022-01-26T22:10:55-05:00 1203 | packager: goreleaser 1204 | changes: 1205 | - commit: 4c929f96c27ec55fa08244cc0fdcd9a63109454c 1206 | note: 'ci: move tags binding to the script' 1207 | author: 1208 | name: Artur Troian 1209 | email: troian.ap@gmail.com 1210 | committer: 1211 | name: Artur Troian 1212 | email: troian.ap@gmail.com 1213 | conventional_commit: 1214 | category: ci 1215 | scope: "" 1216 | description: move tags binding to the script 1217 | body: "" 1218 | footer: [] 1219 | major: false 1220 | minor: false 1221 | patch: false 1222 | - commit: dbd1ab415fc09aaa171e3a1e8fb863c4a6421f4d 1223 | note: 'ci: fix reference of wrong login credentials to dockerhub' 1224 | author: 1225 | name: Artur Troian 1226 | email: troian.ap@gmail.com 1227 | committer: 1228 | name: Artur Troian 1229 | email: troian.ap@gmail.com 1230 | conventional_commit: 1231 | category: ci 1232 | scope: "" 1233 | description: fix reference of wrong login credentials to dockerhub 1234 | body: "" 1235 | footer: [] 1236 | major: false 1237 | minor: false 1238 | patch: false 1239 | - commit: 88493d57d743e8fe902d7f12b30169d132f59f64 1240 | note: 'ci: fix copy-paste in GITHUB_TOKEN' 1241 | author: 1242 | name: Artur Troian 1243 | email: troian.ap@gmail.com 1244 | committer: 1245 | name: Artur Troian 1246 | email: troian.ap@gmail.com 1247 | conventional_commit: 1248 | category: ci 1249 | scope: "" 1250 | description: fix copy-paste in GITHUB_TOKEN 1251 | body: "" 1252 | footer: [] 1253 | major: false 1254 | minor: false 1255 | patch: false 1256 | - commit: 3c851d8d40457a378528425abb7b044822d8f426 1257 | note: 'ci: pull username from repository_owner' 1258 | author: 1259 | name: Artur Troian 1260 | email: troian.ap@gmail.com 1261 | committer: 1262 | name: Artur Troian 1263 | email: troian.ap@gmail.com 1264 | conventional_commit: 1265 | category: ci 1266 | scope: "" 1267 | description: pull username from repository_owner 1268 | body: "" 1269 | footer: [] 1270 | major: false 1271 | minor: false 1272 | patch: false 1273 | - commit: 5b972b681298bffe43a4254beb8e3551bcdb7eed 1274 | note: 'refactor: migrate repo to goreleaser/goreleaser-cross' 1275 | author: 1276 | name: Artur Troian 1277 | email: troian.ap@gmail.com 1278 | committer: 1279 | name: Artur Troian 1280 | email: troian.ap@gmail.com 1281 | conventional_commit: 1282 | category: refactor 1283 | scope: "" 1284 | description: migrate repo to goreleaser/goreleaser-cross 1285 | body: "" 1286 | footer: [] 1287 | major: false 1288 | minor: false 1289 | patch: true 1290 | - commit: 669509d211f89b4dfb30f19789dde72f5be25c31 1291 | note: 'fix: goreleaser update v1.3.1' 1292 | author: 1293 | name: Artur Troian 1294 | email: troian.ap@gmail.com 1295 | committer: 1296 | name: Artur Troian 1297 | email: troian.ap@gmail.com 1298 | conventional_commit: 1299 | category: fix 1300 | scope: "" 1301 | description: goreleaser update v1.3.1 1302 | body: "" 1303 | footer: [] 1304 | major: false 1305 | minor: false 1306 | patch: true 1307 | - commit: 33648f9782e6a6d40e37ac26b8e5651449932904 1308 | note: 'feat: build base image into own package' 1309 | author: 1310 | name: Artur Troian 1311 | email: troian.ap@gmail.com 1312 | committer: 1313 | name: Artur Troian 1314 | email: troian.ap@gmail.com 1315 | conventional_commit: 1316 | category: feat 1317 | scope: "" 1318 | description: build base image into own package 1319 | body: "" 1320 | footer: [] 1321 | major: false 1322 | minor: true 1323 | patch: false 1324 | - commit: 273aaf11188f7bbc33998c6e8a6adcd4632aae95 1325 | note: |- 1326 | feat: go1.17.6 1327 | 1328 | goreleaser v1.2.5 1329 | author: 1330 | name: Artur Troian 1331 | email: troian.ap@gmail.com 1332 | committer: 1333 | name: Artur Troian 1334 | email: troian.ap@gmail.com 1335 | conventional_commit: 1336 | category: feat 1337 | scope: "" 1338 | description: go1.17.6 1339 | body: goreleaser v1.2.5 1340 | footer: [] 1341 | major: false 1342 | minor: true 1343 | patch: false 1344 | - commit: f6a6554c6f3aa29ae3665ce04eac044d85a52137 1345 | note: 'feat(go): upgrade to v1.17.5' 1346 | author: 1347 | name: Artur Troian 1348 | email: troian.ap@gmail.com 1349 | committer: 1350 | name: Artur Troian 1351 | email: troian.ap@gmail.com 1352 | conventional_commit: 1353 | category: feat 1354 | scope: go 1355 | description: upgrade to v1.17.5 1356 | body: "" 1357 | footer: [] 1358 | major: false 1359 | minor: true 1360 | patch: false 1361 | - commit: 2d11aab943a1c445ea46d2fa2a2f706067ea7a0e 1362 | note: 'chore(deps): bump sigstore/cosign-installer from 1.3.1 to 1.4.1' 1363 | author: 1364 | name: Artur Troian 1365 | email: troian@users.noreply.github.com 1366 | committer: 1367 | name: GitHub 1368 | email: noreply@github.com 1369 | conventional_commit: 1370 | category: chore 1371 | scope: deps 1372 | description: bump sigstore/cosign-installer from 1.3.1 to 1.4.1 1373 | body: "" 1374 | footer: [] 1375 | major: false 1376 | minor: false 1377 | patch: false 1378 | - commit: e74f869c900996008e65bb76e9b9a91fb375ee96 1379 | note: |- 1380 | chore(deps): bump sigstore/cosign-installer from 1.3.1 to 1.4.1 1381 | 1382 | Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 1.3.1 to 1.4.1. 1383 | - [Release notes](https://github.com/sigstore/cosign-installer/releases) 1384 | - [Commits](https://github.com/sigstore/cosign-installer/compare/v1.3.1...v1.4.1) 1385 | 1386 | --- 1387 | updated-dependencies: 1388 | - dependency-name: sigstore/cosign-installer 1389 | dependency-type: direct:production 1390 | update-type: version-update:semver-minor 1391 | ... 1392 | author: 1393 | name: dependabot[bot] 1394 | email: 49699333+dependabot[bot]@users.noreply.github.com 1395 | committer: 1396 | name: GitHub 1397 | email: noreply@github.com 1398 | conventional_commit: 1399 | category: chore 1400 | scope: deps 1401 | description: bump sigstore/cosign-installer from 1.3.1 to 1.4.1 1402 | body: |- 1403 | Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 1.3.1 to 1.4.1. 1404 | - [Release notes](https://github.com/sigstore/cosign-installer/releases) 1405 | - [Commits](https://github.com/sigstore/cosign-installer/compare/v1.3.1...v1.4.1) 1406 | 1407 | --- 1408 | updated-dependencies: 1409 | - 1410 | footer: 1411 | - |- 1412 | dependency-name: sigstore/cosign-installer 1413 | dependency-type: direct:production 1414 | update-type: version-update:semver-minor 1415 | ... 1416 | major: false 1417 | minor: false 1418 | patch: false 1419 | - commit: 0bc78edc687eb4b1cb5778edd87d191a70c0c507 1420 | note: 'feat: push images to dockerhub' 1421 | author: 1422 | name: Artur Troian 1423 | email: troian.ap@gmail.com 1424 | committer: 1425 | name: Artur Troian 1426 | email: troian.ap@gmail.com 1427 | conventional_commit: 1428 | category: feat 1429 | scope: "" 1430 | description: push images to dockerhub 1431 | body: "" 1432 | footer: [] 1433 | major: false 1434 | minor: true 1435 | patch: false 1436 | - commit: 7ffc152a84e6116b9e443f73bb5318c91801b174 1437 | note: |- 1438 | feat: go v1.17.4 1439 | 1440 | update goreleaser to v1.1.0 1441 | author: 1442 | name: Artur Troian 1443 | email: troian.ap@gmail.com 1444 | committer: 1445 | name: Artur Troian 1446 | email: troian.ap@gmail.com 1447 | conventional_commit: 1448 | category: feat 1449 | scope: "" 1450 | description: go v1.17.4 1451 | body: update goreleaser to v1.1.0 1452 | footer: [] 1453 | major: false 1454 | minor: true 1455 | patch: false 1456 | - commit: c1ebf1b49b0b7efa5a93b3df3cc93e760c6bc7f0 1457 | note: 'docs(readme): add description to multiarch images' 1458 | author: 1459 | name: Artur Troian 1460 | email: troian.ap@gmail.com 1461 | committer: 1462 | name: Artur Troian 1463 | email: troian.ap@gmail.com 1464 | conventional_commit: 1465 | category: docs 1466 | scope: readme 1467 | description: add description to multiarch images 1468 | body: "" 1469 | footer: [] 1470 | major: false 1471 | minor: false 1472 | patch: true 1473 | - commit: e91a7f616d7088082bf8255340ec6d3f823fc67f 1474 | note: |- 1475 | feat: multiarch images 1476 | 1477 | build go 1.17.3 1478 | goreleaser v0.184.0 1479 | author: 1480 | name: Artur Troian 1481 | email: troian.ap@gmail.com 1482 | committer: 1483 | name: Artur Troian 1484 | email: troian.ap@gmail.com 1485 | conventional_commit: 1486 | category: feat 1487 | scope: "" 1488 | description: multiarch images 1489 | body: |- 1490 | build go 1.17.3 1491 | goreleaser v0.184.0 1492 | footer: [] 1493 | major: false 1494 | minor: true 1495 | patch: false 1496 | - commit: f2a5dde92938d0b0aa154457b321ef9ba81267e1 1497 | note: 'docs(readme): tidy up' 1498 | author: 1499 | name: Artur Troian 1500 | email: troian.ap@gmail.com 1501 | committer: 1502 | name: Artur Troian 1503 | email: troian.ap@gmail.com 1504 | conventional_commit: 1505 | category: docs 1506 | scope: readme 1507 | description: tidy up 1508 | body: "" 1509 | footer: [] 1510 | major: false 1511 | minor: false 1512 | patch: true 1513 | - commit: dc07f3e8825320ad4cfb82143688a7c988a4d990 1514 | note: 'feat: go v1.17.2' 1515 | author: 1516 | name: Artur Troian 1517 | email: troian.ap@gmail.com 1518 | committer: 1519 | name: Artur Troian 1520 | email: troian.ap@gmail.com 1521 | conventional_commit: 1522 | category: feat 1523 | scope: "" 1524 | description: go v1.17.2 1525 | body: "" 1526 | footer: [] 1527 | major: false 1528 | minor: true 1529 | patch: false 1530 | - commit: 0d0e926712d77bdc5f7ba4c3c7160cbda9a072cc 1531 | note: 'feat: go1.17.1' 1532 | author: 1533 | name: Artur Troian 1534 | email: troian.ap@gmail.com 1535 | committer: 1536 | name: Artur Troian 1537 | email: troian.ap@gmail.com 1538 | conventional_commit: 1539 | category: feat 1540 | scope: "" 1541 | description: go1.17.1 1542 | body: "" 1543 | footer: [] 1544 | major: false 1545 | minor: true 1546 | patch: false 1547 | - commit: c8540ff3477a6dc4868646a3b60a7c72c3f08c43 1548 | note: 'feat: update go to v1.17.0' 1549 | author: 1550 | name: Artur Troian 1551 | email: troian.ap@gmail.com 1552 | committer: 1553 | name: Artur Troian 1554 | email: troian.ap@gmail.com 1555 | conventional_commit: 1556 | category: feat 1557 | scope: "" 1558 | description: update go to v1.17.0 1559 | body: "" 1560 | footer: [] 1561 | major: false 1562 | minor: true 1563 | patch: false 1564 | - commit: b139c9650beb8897c8585260804db6e56fc0b932 1565 | note: |- 1566 | fix: add tini ad pid 1 1567 | 1568 | run goreleaser via exec to catch signals 1569 | author: 1570 | name: Artur Troian 1571 | email: troian.ap@gmail.com 1572 | committer: 1573 | name: Artur Troian 1574 | email: troian.ap@gmail.com 1575 | conventional_commit: 1576 | category: fix 1577 | scope: "" 1578 | description: add tini ad pid 1 1579 | body: run goreleaser via exec to catch signals 1580 | footer: [] 1581 | major: false 1582 | minor: false 1583 | patch: true 1584 | - commit: 19cf36f62d0a7283b16638e4c8ac33ab0280858b 1585 | note: |- 1586 | feat: update go1.16.7 1587 | 1588 | update goreleaser to 0.174.2 1589 | author: 1590 | name: Artur Troian 1591 | email: troian.ap@gmail.com 1592 | committer: 1593 | name: Artur Troian 1594 | email: troian.ap@gmail.com 1595 | conventional_commit: 1596 | category: feat 1597 | scope: "" 1598 | description: update go1.16.7 1599 | body: update goreleaser to 0.174.2 1600 | footer: [] 1601 | major: false 1602 | minor: true 1603 | patch: false 1604 | - commit: 756b902eab23667584a84977b3a362f7d31f1bb6 1605 | note: |- 1606 | feat: bump go to v1.16.6 1607 | 1608 | bump goreleaser to v0.173.2 1609 | author: 1610 | name: Artur Troian 1611 | email: troian.ap@gmail.com 1612 | committer: 1613 | name: Artur Troian 1614 | email: troian.ap@gmail.com 1615 | conventional_commit: 1616 | category: feat 1617 | scope: "" 1618 | description: bump go to v1.16.6 1619 | body: bump goreleaser to v0.173.2 1620 | footer: [] 1621 | major: false 1622 | minor: true 1623 | patch: false 1624 | - commit: af80502d7c393bbc9f6128ca62320cff87585f0b 1625 | note: |- 1626 | feat: go1.16.5 1627 | 1628 | update goreleaser to 0.169.0 1629 | author: 1630 | name: Artur Troian 1631 | email: troian.ap@gmail.com 1632 | committer: 1633 | name: Artur Troian 1634 | email: troian.ap@gmail.com 1635 | conventional_commit: 1636 | category: feat 1637 | scope: "" 1638 | description: go1.16.5 1639 | body: update goreleaser to 0.169.0 1640 | footer: [] 1641 | major: false 1642 | minor: true 1643 | patch: false 1644 | - commit: 210778d545888a627f447c379b4707de07df1d14 1645 | note: 'feat: go1.16.4' 1646 | author: 1647 | name: Artur Troian 1648 | email: troian.ap@gmail.com 1649 | committer: 1650 | name: Artur Troian 1651 | email: troian.ap@gmail.com 1652 | conventional_commit: 1653 | category: feat 1654 | scope: "" 1655 | description: go1.16.4 1656 | body: "" 1657 | footer: [] 1658 | major: false 1659 | minor: true 1660 | patch: false 1661 | - commit: 962cf7aaf1c88bc30613a80128be669ea2db5058 1662 | note: 'fix: gpg import (#3)' 1663 | author: 1664 | name: Tomasz Klimczak 1665 | email: 71132215+climech@users.noreply.github.com 1666 | committer: 1667 | name: GitHub 1668 | email: noreply@github.com 1669 | conventional_commit: 1670 | category: fix 1671 | scope: "" 1672 | description: gpg import (#3) 1673 | body: "" 1674 | footer: [] 1675 | major: false 1676 | minor: false 1677 | patch: true 1678 | - commit: 9e7f7cbd6bc6ba81786adc0f74abc5bd12d3cbc6 1679 | note: 'feat: go1.16.3' 1680 | author: 1681 | name: Artur Troian 1682 | email: troian.ap@gmail.com 1683 | committer: 1684 | name: Artur Troian 1685 | email: troian.ap@gmail.com 1686 | conventional_commit: 1687 | category: feat 1688 | scope: "" 1689 | description: go1.16.3 1690 | body: "" 1691 | footer: [] 1692 | major: false 1693 | minor: true 1694 | patch: false 1695 | - commit: 82d7934c4f11e4321e86b0d6805ae76ac9c30d80 1696 | note: 'fix(ci): login url to ghcr' 1697 | author: 1698 | name: Artur Troian 1699 | email: troian.ap@gmail.com 1700 | committer: 1701 | name: Artur Troian 1702 | email: troian.ap@gmail.com 1703 | conventional_commit: 1704 | category: fix 1705 | scope: ci 1706 | description: login url to ghcr 1707 | body: "" 1708 | footer: [] 1709 | major: false 1710 | minor: false 1711 | patch: true 1712 | - commit: 4588e817d2ef8c634db70ac59ad73e41bc9fd274 1713 | note: 'fix: include tars' 1714 | author: 1715 | name: Artur Troian 1716 | email: troian.ap@gmail.com 1717 | committer: 1718 | name: Artur Troian 1719 | email: troian.ap@gmail.com 1720 | conventional_commit: 1721 | category: fix 1722 | scope: "" 1723 | description: include tars 1724 | body: "" 1725 | footer: [] 1726 | major: false 1727 | minor: false 1728 | patch: true 1729 | - commit: ea5301e6ea5d37ec7af04568ddd93c6596c99e1e 1730 | note: 'feat: update go1.16.2' 1731 | author: 1732 | name: Artur Troian 1733 | email: troian.ap@gmail.com 1734 | committer: 1735 | name: Artur Troian 1736 | email: troian.ap@gmail.com 1737 | conventional_commit: 1738 | category: feat 1739 | scope: "" 1740 | description: update go1.16.2 1741 | body: "" 1742 | footer: [] 1743 | major: false 1744 | minor: true 1745 | patch: false 1746 | - commit: 33f5ba444ad4fa095d73d36d3985f4184fb09178 1747 | note: 'docs(readme): mention M1 support' 1748 | author: 1749 | name: Artur Troian 1750 | email: troian.ap@gmail.com 1751 | committer: 1752 | name: Artur Troian 1753 | email: troian.ap@gmail.com 1754 | conventional_commit: 1755 | category: docs 1756 | scope: readme 1757 | description: mention M1 support 1758 | body: "" 1759 | footer: [] 1760 | major: false 1761 | minor: false 1762 | patch: true 1763 | - commit: 297446fc2c5d918971de0e6f6d600e048fb9d121 1764 | note: 'feat: go1.16.1' 1765 | author: 1766 | name: Artur Troian 1767 | email: troian.ap@gmail.com 1768 | committer: 1769 | name: Artur Troian 1770 | email: troian.ap@gmail.com 1771 | conventional_commit: 1772 | category: feat 1773 | scope: "" 1774 | description: go1.16.1 1775 | body: "" 1776 | footer: [] 1777 | major: false 1778 | minor: true 1779 | patch: false 1780 | - commit: 09d69d5da00bc68c668754a0ebe6ffcb0c8612a7 1781 | note: 'feat: go 1.16' 1782 | author: 1783 | name: Artur Troian 1784 | email: troian.ap@gmail.com 1785 | committer: 1786 | name: Artur Troian 1787 | email: troian.ap@gmail.com 1788 | conventional_commit: 1789 | category: feat 1790 | scope: "" 1791 | description: go 1.16 1792 | body: "" 1793 | footer: [] 1794 | major: false 1795 | minor: true 1796 | patch: false 1797 | - commit: 9fcc3e49b6760a66c0a8305fb82128137a2231d3 1798 | note: 'feat: update go to 1.15.7' 1799 | author: 1800 | name: Artur Troian 1801 | email: troian.ap@gmail.com 1802 | committer: 1803 | name: Artur Troian 1804 | email: troian.ap@gmail.com 1805 | conventional_commit: 1806 | category: feat 1807 | scope: "" 1808 | description: update go to 1.15.7 1809 | body: "" 1810 | footer: [] 1811 | major: false 1812 | minor: true 1813 | patch: false 1814 | - commit: 0ed93e83cd1ed15d31319e2fd2ae49ee46981209 1815 | note: 'fix: update goreleaser' 1816 | author: 1817 | name: Artur Troian 1818 | email: troian.ap@gmail.com 1819 | committer: 1820 | name: Artur Troian 1821 | email: troian.ap@gmail.com 1822 | conventional_commit: 1823 | category: fix 1824 | scope: "" 1825 | description: update goreleaser 1826 | body: "" 1827 | footer: [] 1828 | major: false 1829 | minor: false 1830 | patch: true 1831 | - commit: 3fcd5aecfb176b412c7d6eab5af7c60a3c89ae79 1832 | note: 'fix: build golang v1.15.6' 1833 | author: 1834 | name: Artur Troian 1835 | email: troian.ap@gmail.com 1836 | committer: 1837 | name: Artur Troian 1838 | email: troian.ap@gmail.com 1839 | conventional_commit: 1840 | category: fix 1841 | scope: "" 1842 | description: build golang v1.15.6 1843 | body: "" 1844 | footer: [] 1845 | major: false 1846 | minor: false 1847 | patch: true 1848 | - commit: 6e6a2bed730fbdc31ca63e33642cd524e9577677 1849 | note: 'ci: create releases via github actions' 1850 | author: 1851 | name: Artur Troian 1852 | email: troian.ap@gmail.com 1853 | committer: 1854 | name: Artur Troian 1855 | email: troian.ap@gmail.com 1856 | conventional_commit: 1857 | category: ci 1858 | scope: "" 1859 | description: create releases via github actions 1860 | body: "" 1861 | footer: [] 1862 | major: false 1863 | minor: false 1864 | patch: false 1865 | - commit: 98e297ac31d9ab03ab52a71ad0498a9e183f908c 1866 | note: |- 1867 | refactor: build process 1868 | 1869 | split dockerfiles to allow build smaller images for specific arch 1870 | author: 1871 | name: Artur Troian 1872 | email: troian.ap@gmail.com 1873 | committer: 1874 | name: Artur Troian 1875 | email: troian.ap@gmail.com 1876 | conventional_commit: 1877 | category: refactor 1878 | scope: "" 1879 | description: build process 1880 | body: split dockerfiles to allow build smaller images for specific arch 1881 | footer: [] 1882 | major: false 1883 | minor: false 1884 | patch: true 1885 | - commit: 59e0b92a48f1e823f6780b82a757a6a097b6f561 1886 | note: 'fix: remove test creds' 1887 | author: 1888 | name: Artur Troian 1889 | email: troian.ap@gmail.com 1890 | committer: 1891 | name: Artur Troian 1892 | email: troian.ap@gmail.com 1893 | conventional_commit: 1894 | category: fix 1895 | scope: "" 1896 | description: remove test creds 1897 | body: "" 1898 | footer: [] 1899 | major: false 1900 | minor: false 1901 | patch: true 1902 | - commit: fc5e99e253a5b47e2544ad21ef3a6242e81a60c4 1903 | note: 'refactor: remove main.go' 1904 | author: 1905 | name: Artur Troian 1906 | email: troian.ap@gmail.com 1907 | committer: 1908 | name: Artur Troian 1909 | email: troian.ap@gmail.com 1910 | conventional_commit: 1911 | category: refactor 1912 | scope: "" 1913 | description: remove main.go 1914 | body: "" 1915 | footer: [] 1916 | major: false 1917 | minor: false 1918 | patch: true 1919 | - commit: 8297137be03dac2582de038b905f8037b041f272 1920 | note: 'chore: remove sysroot' 1921 | author: 1922 | name: Artur Troian 1923 | email: troian.ap@gmail.com 1924 | committer: 1925 | name: Artur Troian 1926 | email: troian.ap@gmail.com 1927 | conventional_commit: 1928 | category: chore 1929 | scope: "" 1930 | description: remove sysroot 1931 | body: "" 1932 | footer: [] 1933 | major: false 1934 | minor: false 1935 | patch: false 1936 | - commit: ce686996738b3391244357d2ca7d1e63f0382edc 1937 | note: 'docs: add link to docker image' 1938 | author: 1939 | name: Artur Troian 1940 | email: troian.ap@gmail.com 1941 | committer: 1942 | name: Artur Troian 1943 | email: troian.ap@gmail.com 1944 | conventional_commit: 1945 | category: docs 1946 | scope: "" 1947 | description: add link to docker image 1948 | body: "" 1949 | footer: [] 1950 | major: false 1951 | minor: false 1952 | patch: true 1953 | - commit: 70ccb7cf52622eb8369437f640b1c52987330702 1954 | note: 'docs: update readme with sysroot cookbook' 1955 | author: 1956 | name: Artur Troian 1957 | email: troian.ap@gmail.com 1958 | committer: 1959 | name: Artur Troian 1960 | email: troian.ap@gmail.com 1961 | conventional_commit: 1962 | category: docs 1963 | scope: "" 1964 | description: update readme with sysroot cookbook 1965 | body: "" 1966 | footer: [] 1967 | major: false 1968 | minor: false 1969 | patch: true 1970 | - commit: 7de098301a58eb026f804e8f25983c67934e8751 1971 | note: 'docs: cleanup tip section' 1972 | author: 1973 | name: Artur Troian 1974 | email: troian.ap@gmail.com 1975 | committer: 1976 | name: Artur Troian 1977 | email: troian.ap@gmail.com 1978 | conventional_commit: 1979 | category: docs 1980 | scope: "" 1981 | description: cleanup tip section 1982 | body: "" 1983 | footer: [] 1984 | major: false 1985 | minor: false 1986 | patch: true 1987 | - commit: f538432c48ef857c00ba9675bcbba65976687f94 1988 | note: 'feat: improve doc. provide examples' 1989 | author: 1990 | name: Artur Troian 1991 | email: troian.ap@gmail.com 1992 | committer: 1993 | name: Artur Troian 1994 | email: troian.ap@gmail.com 1995 | conventional_commit: 1996 | category: feat 1997 | scope: "" 1998 | description: improve doc. provide examples 1999 | body: "" 2000 | footer: [] 2001 | major: false 2002 | minor: true 2003 | patch: false 2004 | - commit: 7631f8bca85d60127a69ff6cdef317ea67f3e9e0 2005 | note: 'fix: start improoving doc' 2006 | author: 2007 | name: Artur Troian 2008 | email: troian.ap@gmail.com 2009 | committer: 2010 | name: Artur Troian 2011 | email: troian.ap@gmail.com 2012 | conventional_commit: 2013 | category: fix 2014 | scope: "" 2015 | description: start improoving doc 2016 | body: "" 2017 | footer: [] 2018 | major: false 2019 | minor: false 2020 | patch: true 2021 | - commit: 0dccf41c8f232bd65f0b36fb496e51bf08f5e916 2022 | note: 'feat: install docker (#1)' 2023 | author: 2024 | name: Artur Troian 2025 | email: troian@users.noreply.github.com 2026 | committer: 2027 | name: GitHub 2028 | email: noreply@github.com 2029 | conventional_commit: 2030 | category: feat 2031 | scope: "" 2032 | description: install docker (#1) 2033 | body: "" 2034 | footer: [] 2035 | major: false 2036 | minor: true 2037 | patch: false 2038 | - commit: 0dd19cb97f87823bb5ce7930e5e74fd9c8d9db37 2039 | note: 'feat: support golang v1.15.2' 2040 | author: 2041 | name: gythialy 2042 | email: gythialy.koo+github@gmail.com 2043 | committer: 2044 | name: gythialy 2045 | email: gythialy.koo+github@gmail.com 2046 | conventional_commit: 2047 | category: feat 2048 | scope: "" 2049 | description: support golang v1.15.2 2050 | body: "" 2051 | footer: [] 2052 | major: false 2053 | minor: true 2054 | patch: false 2055 | - commit: 19a41295d270a3cd19a7d405776c33782d5bd65d 2056 | note: 'feat: add osx-cross builder with supporting macOS SDK 10.15 (#3)' 2057 | author: 2058 | name: Goren G 2059 | email: gythialy.koo+github@gmail.com 2060 | committer: 2061 | name: gythialy 2062 | email: gythialy.koo+github@gmail.com 2063 | conventional_commit: 2064 | category: feat 2065 | scope: "" 2066 | description: add osx-cross builder with supporting macOS SDK 10.15 (#3) 2067 | body: "" 2068 | footer: [] 2069 | major: false 2070 | minor: true 2071 | patch: false 2072 | - commit: 32e90af575a8b629915b3c7c6aafc1d75c228b29 2073 | note: 'feat: support golang v1.15' 2074 | author: 2075 | name: gythialy 2076 | email: gythialy.koo+github@gmail.com 2077 | committer: 2078 | name: gythialy 2079 | email: gythialy.koo+github@gmail.com 2080 | conventional_commit: 2081 | category: feat 2082 | scope: "" 2083 | description: support golang v1.15 2084 | body: "" 2085 | footer: [] 2086 | major: false 2087 | minor: true 2088 | patch: false 2089 | - commit: 17da7f8e5d7b29ea881adff765560c8df36dea38 2090 | note: 'feat: update go to v1.14.7 and goreleaser to v0.141.0' 2091 | author: 2092 | name: gythialy 2093 | email: gythialy.koo+github@gmail.com 2094 | committer: 2095 | name: gythialy 2096 | email: gythialy.koo+github@gmail.com 2097 | conventional_commit: 2098 | category: feat 2099 | scope: "" 2100 | description: update go to v1.14.7 and goreleaser to v0.141.0 2101 | body: "" 2102 | footer: [] 2103 | major: false 2104 | minor: true 2105 | patch: false 2106 | - commit: c07a73cbd4167c299a3aa19e715091debed4bf60 2107 | note: |- 2108 | feat: update golang and goreleaser 2109 | 2110 | - update golang to v1.14.4 2111 | - update goreleaser to v0.138.0 2112 | author: 2113 | name: gythialy 2114 | email: gythialy.koo+github@gmail.com 2115 | committer: 2116 | name: gythialy 2117 | email: gythialy.koo+github@gmail.com 2118 | conventional_commit: 2119 | category: feat 2120 | scope: "" 2121 | description: update golang and goreleaser 2122 | body: |- 2123 | - update golang to v1.14.4 2124 | - update goreleaser to v0.138.0 2125 | footer: [] 2126 | major: false 2127 | minor: true 2128 | patch: false 2129 | - commit: ca7ef0a8e5bfa74170a5ceaba7ae9b0ebd5fc0b9 2130 | note: 'feat: update golang to v1.14.3' 2131 | author: 2132 | name: gythialy 2133 | email: gythialy.koo+github@gmail.com 2134 | committer: 2135 | name: gythialy 2136 | email: gythialy.koo+github@gmail.com 2137 | conventional_commit: 2138 | category: feat 2139 | scope: "" 2140 | description: update golang to v1.14.3 2141 | body: "" 2142 | footer: [] 2143 | major: false 2144 | minor: true 2145 | patch: false 2146 | - commit: 3726b90a9448c34261b5577b451ad20d2aa8a5d7 2147 | note: 'feat: update go to v1.14.2 and goreleaser to v0.131.1' 2148 | author: 2149 | name: gythialy 2150 | email: gythialy.koo+github@gmail.com 2151 | committer: 2152 | name: gythialy 2153 | email: gythialy.koo+github@gmail.com 2154 | conventional_commit: 2155 | category: feat 2156 | scope: "" 2157 | description: update go to v1.14.2 and goreleaser to v0.131.1 2158 | body: "" 2159 | footer: [] 2160 | major: false 2161 | minor: true 2162 | patch: false 2163 | - commit: a8ddfc2c7cdb6daf47bcfe77ade3ed84ea63c646 2164 | note: 'feat: update go to v1.14.1 and goreleaser to v0.130.2' 2165 | author: 2166 | name: gythialy 2167 | email: gythialy.koo+github@gmail.com 2168 | committer: 2169 | name: gythialy 2170 | email: gythialy.koo+github@gmail.com 2171 | conventional_commit: 2172 | category: feat 2173 | scope: "" 2174 | description: update go to v1.14.1 and goreleaser to v0.130.2 2175 | body: "" 2176 | footer: [] 2177 | major: false 2178 | minor: true 2179 | patch: false 2180 | - commit: 2ca3bf29ade341d20a48735a1c80c0a9521622b0 2181 | note: 'feat: support golang v1.14 and goreleaser v0.127.0' 2182 | author: 2183 | name: gythialy 2184 | email: gythialy.koo+github@gmail.com 2185 | committer: 2186 | name: gythialy 2187 | email: gythialy.koo+github@gmail.com 2188 | conventional_commit: 2189 | category: feat 2190 | scope: "" 2191 | description: support golang v1.14 and goreleaser v0.127.0 2192 | body: "" 2193 | footer: [] 2194 | major: false 2195 | minor: true 2196 | patch: false 2197 | - commit: 5b52e5def3ac46b4d91f1f5fc457e787a9665aa6 2198 | note: 'docs: update import gpg private key' 2199 | author: 2200 | name: gythialy 2201 | email: gythialy.koo+github@gmail.com 2202 | committer: 2203 | name: gythialy 2204 | email: gythialy.koo+github@gmail.com 2205 | conventional_commit: 2206 | category: docs 2207 | scope: "" 2208 | description: update import gpg private key 2209 | body: "" 2210 | footer: [] 2211 | major: false 2212 | minor: false 2213 | patch: true 2214 | - commit: 446487c1f3ac75af704271cf1ca2c73b43e64a21 2215 | note: 'feat: support import gpg private key to sign artifacts' 2216 | author: 2217 | name: gythialy 2218 | email: gythialy.koo+github@gmail.com 2219 | committer: 2220 | name: Goren G 2221 | email: gythialy.koo+github@gmail.com 2222 | conventional_commit: 2223 | category: feat 2224 | scope: "" 2225 | description: support import gpg private key to sign artifacts 2226 | body: "" 2227 | footer: [] 2228 | major: false 2229 | minor: true 2230 | patch: false 2231 | - commit: 144f85a3aec35d05001d6e7a0ad89521b4eda109 2232 | note: 'feat: bump golang version to v1.13.5' 2233 | author: 2234 | name: gythialy 2235 | email: gythialy.koo+github@gmail.com 2236 | committer: 2237 | name: gythialy 2238 | email: gythialy.koo+github@gmail.com 2239 | conventional_commit: 2240 | category: feat 2241 | scope: "" 2242 | description: bump golang version to v1.13.5 2243 | body: "" 2244 | footer: [] 2245 | major: false 2246 | minor: true 2247 | patch: false 2248 | - commit: 53420bb9267a93166ae51dca3ac6eb2da3265d90 2249 | note: 'feat: update golang and goreleaser' 2250 | author: 2251 | name: gythialy 2252 | email: gythialy.koo+github@gmail.com 2253 | committer: 2254 | name: gythialy 2255 | email: gythialy.koo+github@gmail.com 2256 | conventional_commit: 2257 | category: feat 2258 | scope: "" 2259 | description: update golang and goreleaser 2260 | body: "" 2261 | footer: [] 2262 | major: false 2263 | minor: true 2264 | patch: false 2265 | - commit: e15699071145ebe48306b91007399f68c7534fb7 2266 | note: 'refactor: disable apt upgrade' 2267 | author: 2268 | name: gythialy 2269 | email: gythialy.koo+github@gmail.com 2270 | committer: 2271 | name: gythialy 2272 | email: gythialy.koo+github@gmail.com 2273 | conventional_commit: 2274 | category: refactor 2275 | scope: "" 2276 | description: disable apt upgrade 2277 | body: "" 2278 | footer: [] 2279 | major: false 2280 | minor: false 2281 | patch: true 2282 | - commit: b889b44a3d622038bca53ad2c154b2a6c5b92e43 2283 | note: 'feat: add git-chglog' 2284 | author: 2285 | name: gythialy 2286 | email: gythialy.koo+github@gmail.com 2287 | committer: 2288 | name: gythialy 2289 | email: gythialy.koo+github@gmail.com 2290 | conventional_commit: 2291 | category: feat 2292 | scope: "" 2293 | description: add git-chglog 2294 | body: "" 2295 | footer: [] 2296 | major: false 2297 | minor: true 2298 | patch: false 2299 | - commit: 82282e512255ad9c388b105e97e913a6d384cc36 2300 | note: Update README.md 2301 | author: 2302 | name: Goren G 2303 | email: gythialy.koo+github@gmail.com 2304 | committer: 2305 | name: GitHub 2306 | email: noreply@github.com 2307 | conventional_commit: 2308 | category: chore 2309 | scope: "" 2310 | description: Update README.md 2311 | body: "" 2312 | footer: [] 2313 | major: false 2314 | minor: false 2315 | patch: false 2316 | - commit: b741203af629c95e6999fa78ed7e4f9ecac6ce9c 2317 | note: 'refactor: simplify publish docker images' 2318 | author: 2319 | name: gythialy 2320 | email: gythialy.koo+github@gmail.com 2321 | committer: 2322 | name: gythialy 2323 | email: gythialy.koo+github@gmail.com 2324 | conventional_commit: 2325 | category: refactor 2326 | scope: "" 2327 | description: simplify publish docker images 2328 | body: "" 2329 | footer: [] 2330 | major: false 2331 | minor: false 2332 | patch: true 2333 | - commit: c3bc84ba0b80421e20f9289c65a59e22af8f2736 2334 | note: Update README.md 2335 | author: 2336 | name: Goren G 2337 | email: gythialy.koo+github@gmail.com 2338 | committer: 2339 | name: GitHub 2340 | email: noreply@github.com 2341 | conventional_commit: 2342 | category: chore 2343 | scope: "" 2344 | description: Update README.md 2345 | body: "" 2346 | footer: [] 2347 | major: false 2348 | minor: false 2349 | patch: false 2350 | - commit: 95b59e8de55cecaef8fdcff282fb173b57e9c15b 2351 | note: 'refactor: remove ublish-Docker-Github-Action' 2352 | author: 2353 | name: gythialy 2354 | email: gythialy.koo+github@gmail.com 2355 | committer: 2356 | name: gythialy 2357 | email: gythialy.koo+github@gmail.com 2358 | conventional_commit: 2359 | category: refactor 2360 | scope: "" 2361 | description: remove ublish-Docker-Github-Action 2362 | body: "" 2363 | footer: [] 2364 | major: false 2365 | minor: false 2366 | patch: true 2367 | - commit: d08fbdfb704007295bafa3ccf29cd939f8801721 2368 | note: 'refactor: restore push docker image to github' 2369 | author: 2370 | name: gythialy 2371 | email: gythialy.koo+github@gmail.com 2372 | committer: 2373 | name: gythialy 2374 | email: gythialy.koo+github@gmail.com 2375 | conventional_commit: 2376 | category: refactor 2377 | scope: "" 2378 | description: restore push docker image to github 2379 | body: "" 2380 | footer: [] 2381 | major: false 2382 | minor: false 2383 | patch: true 2384 | - commit: b549d4eafcf6819862a1e0ad5c04c4bc3494e424 2385 | note: |- 2386 | Revert "refactor: tmp disable update golang" 2387 | 2388 | This reverts commit fcf4eedf87f68394840f0b63052d5a525d23b3f4. 2389 | author: 2390 | name: gythialy 2391 | email: gythialy.koo+github@gmail.com 2392 | committer: 2393 | name: gythialy 2394 | email: gythialy.koo+github@gmail.com 2395 | conventional_commit: 2396 | category: Revert "refactor 2397 | scope: "" 2398 | description: tmp disable update golang" 2399 | body: This reverts commit fcf4eedf87f68394840f0b63052d5a525d23b3f4. 2400 | footer: [] 2401 | major: false 2402 | minor: false 2403 | patch: false 2404 | - commit: fcf4eedf87f68394840f0b63052d5a525d23b3f4 2405 | note: 'refactor: tmp disable update golang' 2406 | author: 2407 | name: gythialy 2408 | email: gythialy.koo+github@gmail.com 2409 | committer: 2410 | name: gythialy 2411 | email: gythialy.koo+github@gmail.com 2412 | conventional_commit: 2413 | category: refactor 2414 | scope: "" 2415 | description: tmp disable update golang 2416 | body: "" 2417 | footer: [] 2418 | major: false 2419 | minor: false 2420 | patch: true 2421 | - commit: 60fedba159fc96a3e1217c8749064c75925e3ba4 2422 | note: 'fix: arm gcc' 2423 | author: 2424 | name: gythialy 2425 | email: gythialy.koo+github@gmail.com 2426 | committer: 2427 | name: gythialy 2428 | email: gythialy.koo+github@gmail.com 2429 | conventional_commit: 2430 | category: fix 2431 | scope: "" 2432 | description: arm gcc 2433 | body: "" 2434 | footer: [] 2435 | major: false 2436 | minor: false 2437 | patch: true 2438 | - commit: 57712d300dd270fe2af777965c4001070a43150d 2439 | note: 'feat: update golang version' 2440 | author: 2441 | name: gythialy 2442 | email: gythialy.koo+github@gmail.com 2443 | committer: 2444 | name: gythialy 2445 | email: gythialy.koo+github@gmail.com 2446 | conventional_commit: 2447 | category: feat 2448 | scope: "" 2449 | description: update golang version 2450 | body: "" 2451 | footer: [] 2452 | major: false 2453 | minor: true 2454 | patch: false 2455 | - commit: 6834b67343a0e26e66ac9394edc8a67262fe97fe 2456 | note: refactor:remove mips gcc 2457 | author: 2458 | name: gythialy 2459 | email: gythialy.koo+github@gmail.com 2460 | committer: 2461 | name: gythialy 2462 | email: gythialy.koo+github@gmail.com 2463 | conventional_commit: 2464 | category: chore 2465 | scope: "" 2466 | description: refactor:remove mips gcc 2467 | body: "" 2468 | footer: [] 2469 | major: false 2470 | minor: false 2471 | patch: false 2472 | - commit: f03e955a02a86d23cb9dbb6d793e00a509e11c40 2473 | note: 'fix: add missing multilib' 2474 | author: 2475 | name: gythialy 2476 | email: gythialy.koo+github@gmail.com 2477 | committer: 2478 | name: gythialy 2479 | email: gythialy.koo+github@gmail.com 2480 | conventional_commit: 2481 | category: fix 2482 | scope: "" 2483 | description: add missing multilib 2484 | body: "" 2485 | footer: [] 2486 | major: false 2487 | minor: false 2488 | patch: true 2489 | - commit: c1116ec8a2358f956ba437061b59329a265d468e 2490 | note: 'fix: add arm gcc and g++' 2491 | author: 2492 | name: gythialy 2493 | email: gythialy.koo+github@gmail.com 2494 | committer: 2495 | name: gythialy 2496 | email: gythialy.koo+github@gmail.com 2497 | conventional_commit: 2498 | category: fix 2499 | scope: "" 2500 | description: add arm gcc and g++ 2501 | body: "" 2502 | footer: [] 2503 | major: false 2504 | minor: false 2505 | patch: true 2506 | - commit: 4b2cfa3c4352c86449aa7437ce94ac5a636c3b93 2507 | note: 'refactor: rename github packages name' 2508 | author: 2509 | name: gythialy 2510 | email: gythialy.koo+github@gmail.com 2511 | committer: 2512 | name: gythialy 2513 | email: gythialy.koo+github@gmail.com 2514 | conventional_commit: 2515 | category: refactor 2516 | scope: "" 2517 | description: rename github packages name 2518 | body: "" 2519 | footer: [] 2520 | major: false 2521 | minor: false 2522 | patch: true 2523 | - commit: 53bb606f1bd36e3cae8df43abf1b882953713d1c 2524 | note: 'fix: release tag' 2525 | author: 2526 | name: gythialy 2527 | email: gythialy.koo+github@gmail.com 2528 | committer: 2529 | name: gythialy 2530 | email: gythialy.koo+github@gmail.com 2531 | conventional_commit: 2532 | category: fix 2533 | scope: "" 2534 | description: release tag 2535 | body: "" 2536 | footer: [] 2537 | major: false 2538 | minor: false 2539 | patch: true 2540 | - commit: 22f480b7c73e369a86b8cb26422450d3c05dc973 2541 | note: 'fix: github.ref' 2542 | author: 2543 | name: gythialy 2544 | email: gythialy.koo+github@gmail.com 2545 | committer: 2546 | name: gythialy 2547 | email: gythialy.koo+github@gmail.com 2548 | conventional_commit: 2549 | category: fix 2550 | scope: "" 2551 | description: github.ref 2552 | body: "" 2553 | footer: [] 2554 | major: false 2555 | minor: false 2556 | patch: true 2557 | - commit: b45845a087fed796a6184dd51bd4f3e49936ac2b 2558 | note: test github packages 2559 | author: 2560 | name: gythialy 2561 | email: gythialy.koo+github@gmail.com 2562 | committer: 2563 | name: gythialy 2564 | email: gythialy.koo+github@gmail.com 2565 | conventional_commit: 2566 | category: chore 2567 | scope: "" 2568 | description: test github packages 2569 | body: "" 2570 | footer: [] 2571 | major: false 2572 | minor: false 2573 | patch: false 2574 | - commit: 131c98855224978972e64dca5896956de775eacb 2575 | note: 'feat: support arm build' 2576 | author: 2577 | name: gythialy 2578 | email: gythialy.koo+github@gmail.com 2579 | committer: 2580 | name: gythialy 2581 | email: gythialy.koo+github@gmail.com 2582 | conventional_commit: 2583 | category: feat 2584 | scope: "" 2585 | description: support arm build 2586 | body: "" 2587 | footer: [] 2588 | major: false 2589 | minor: true 2590 | patch: false 2591 | - commit: 5ee06332f80bf66bf577d3c1298a1134218b1ae1 2592 | note: update README 2593 | author: 2594 | name: gythialy 2595 | email: gythialy.koo+github@gmail.com 2596 | committer: 2597 | name: gythialy 2598 | email: gythialy.koo+github@gmail.com 2599 | conventional_commit: 2600 | category: chore 2601 | scope: "" 2602 | description: update README 2603 | body: "" 2604 | footer: [] 2605 | major: false 2606 | minor: false 2607 | patch: false 2608 | - commit: 34129aea1aeb993a1c5ffc97cc074065bbbc72c3 2609 | note: 'fix: goreleaser sha256 sum' 2610 | author: 2611 | name: gythialy 2612 | email: gythialy.koo+github@gmail.com 2613 | committer: 2614 | name: gythialy 2615 | email: gythialy.koo+github@gmail.com 2616 | conventional_commit: 2617 | category: fix 2618 | scope: "" 2619 | description: goreleaser sha256 sum 2620 | body: "" 2621 | footer: [] 2622 | major: false 2623 | minor: false 2624 | patch: true 2625 | - commit: 50990cd9208a0f6d7b50048e200851c0cd1fcc23 2626 | note: Update dockerimage.yml 2627 | author: 2628 | name: Goren G 2629 | email: gythialy.koo+github@gmail.com 2630 | committer: 2631 | name: GitHub 2632 | email: noreply@github.com 2633 | conventional_commit: 2634 | category: chore 2635 | scope: "" 2636 | description: Update dockerimage.yml 2637 | body: "" 2638 | footer: [] 2639 | major: false 2640 | minor: false 2641 | patch: false 2642 | - commit: 2058029ee75d9dcbe2715da131f53a27a1f62615 2643 | note: init 2644 | author: 2645 | name: gythialy 2646 | email: gythialy.koo+github@gmail.com 2647 | committer: 2648 | name: gythialy 2649 | email: gythialy.koo+github@gmail.com 2650 | conventional_commit: 2651 | category: chore 2652 | scope: "" 2653 | description: init 2654 | body: "" 2655 | footer: [] 2656 | major: false 2657 | minor: false 2658 | patch: false 2659 | - commit: eb27309e0e33e8f274efb5c321723ca42a241824 2660 | note: Initial commit 2661 | author: 2662 | name: Goren G 2663 | email: gythialy.koo+github@gmail.com 2664 | committer: 2665 | name: GitHub 2666 | email: noreply@github.com 2667 | conventional_commit: 2668 | category: chore 2669 | scope: "" 2670 | description: Initial commit 2671 | body: "" 2672 | footer: [] 2673 | major: false 2674 | minor: false 2675 | patch: false 2676 | -------------------------------------------------------------------------------- /cosign.pub: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE3vZvZ71Epr9fhc71yrx/3QBuRnJD 3 | cHrrAq8/541ntxDB+KmIgkoYrMXbCmJNvBEEv+PdGDdRk8RcTwOG7dV2+Q== 4 | -----END PUBLIC KEY----- 5 | -------------------------------------------------------------------------------- /entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | if [[ -z "$GPG_KEY" ]]; then 6 | GPG_KEY=/secrets/key.gpg 7 | fi 8 | 9 | if [[ -f "${GPG_KEY}" ]]; then 10 | echo "importing gpg key..." 11 | if gpg --batch --import "${GPG_KEY}"; then 12 | gpg --list-secret-keys --keyid-format long 13 | fi 14 | fi 15 | 16 | if [[ -z "$DOCKER_CREDS_FILE" ]]; then 17 | DOCKER_CREDS_FILE=/secrets/.docker-creds 18 | fi 19 | 20 | # Workaround for github actions when access to different repositories is needed. 21 | # Github actions provides a GITHUB_TOKEN secret that can only access the current 22 | # repository and you cannot configure it's value. 23 | # Access to different repositories is needed by brew for example. 24 | 25 | if [ -n "$GORELEASER_GITHUB_TOKEN" ] ; then 26 | export GITHUB_TOKEN=$GORELEASER_GITHUB_TOKEN 27 | fi 28 | 29 | if [[ ! -f /root/.docker/config.json ]]; then 30 | 31 | if [[ -f $DOCKER_CREDS_FILE ]]; then 32 | if jq < "$DOCKER_CREDS_FILE" >/dev/null 2>&1 ; then 33 | # shellcheck disable=SC2046 34 | # shellcheck disable=SC2162 35 | while read user pass registry ; do 36 | echo "$pass" | docker login --username "$user" --password-stdin "$registry" 37 | done <<< $(jq -Mr '.registries[] | [.user, .pass, .registry] | @tsv' < "$DOCKER_CREDS_FILE") 38 | else 39 | IFS=':' 40 | while read -r user pass registry; do 41 | echo "$pass" | docker login -u "$user" --password-stdin "$registry" 42 | done <$DOCKER_CREDS_FILE 43 | fi 44 | fi 45 | 46 | if [ -n "$DOCKER_USERNAME" ] && [ -n "$DOCKER_PASSWORD" ]; then 47 | echo "Login to the docker..." 48 | echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin "$DOCKER_REGISTRY" 49 | fi 50 | 51 | if [ -n "$GITHUB_TOKEN" ]; then 52 | # Log into GitHub package registry 53 | echo "$GITHUB_TOKEN" | docker login docker.pkg.github.com -u docker --password-stdin 54 | echo "$GITHUB_TOKEN" | docker login ghcr.io -u docker --password-stdin 55 | fi 56 | 57 | if [ -n "$CI_REGISTRY_PASSWORD" ]; then 58 | # Log into GitLab registry 59 | echo "$CI_REGISTRY_PASSWORD" | docker login "$CI_REGISTRY" -u "$CI_REGISTRY_USER" --password-stdin 60 | fi 61 | fi 62 | 63 | case "$(uname -m)" in 64 | x86_64|amd64) 65 | CC=x86_64-linux-gnu-gcc 66 | CXX=x86_64-linux-gnu-g++ 67 | ;; 68 | arm64|aarch64) 69 | CC=aarch64-linux-gnu-gcc 70 | CXX=aarch64-linux-gnu-g++ 71 | ;; 72 | *) 73 | echo "goreleaser-cross supports only amd64/arm64 hosts" 74 | exit 1 75 | ;; 76 | esac 77 | 78 | export CC 79 | export CXX 80 | 81 | git config --global --add safe.directory "$(pwd)" 82 | 83 | exec goreleaser "$@" 84 | -------------------------------------------------------------------------------- /iter.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # VAR="goreleaser/goreleaser-cross:latest 4 | # goreleaser/goreleaser-cross:v1.19.3-v1.12.3 5 | # goreleaser/goreleaser-cross:v1.19-v1.12.3 6 | # goreleaser/goreleaser-cross:v1.19 7 | # goreleaser/goreleaser-cross:v1.19.3 8 | # ghcr.io/goreleaser/goreleaser-cross:latest 9 | # ghcr.io/goreleaser/goreleaser-cross:v1.19.3-v1.12.3 10 | # ghcr.io/goreleaser/goreleaser-cross:v1.19-v1.12.3 11 | # ghcr.io/goreleaser/goreleaser-cross:v1.19 12 | # ghcr.io/goreleaser/goreleaser-cross:v1.19.3" 13 | 14 | export COSIGN_PRIVATE_KEY="-----BEGIN ENCRYPTED COSIGN PRIVATE KEY----- 15 | eyJrZGYiOnsibmFtZSI6InNjcnlwdCIsInBhcmFtcyI6eyJOIjozMjc2OCwiciI6 16 | OCwicCI6MX0sInNhbHQiOiJEN3Zrd1g2WkNQd1FoMUlqSWJuU2FGUGN2eGRKZFAx 17 | UkNxcklCQ1dKZkxvPSJ9LCJjaXBoZXIiOnsibmFtZSI6Im5hY2wvc2VjcmV0Ym94 18 | Iiwibm9uY2UiOiJsYUpEN1ltdzlBZlBHczd6ck9mNTI2NXlYSXhCa3VUWSJ9LCJj 19 | aXBoZXJ0ZXh0IjoiTWc5TGhJbDMxWVF2Vy9HV21GMkh2VkczWHRmZ09URTg5RDJZ 20 | aXdtS1kvQncxczFSOWVLZGx6TU1OcUNYYVZUa01INkpWWEpYMTJPczNLQXJzMy9J 21 | cG9DZHNQUVMveVl6eEVkRkNtMHkvYlUvNy9UaG1xZDV0N0p0NUtUbk9XSFRDOU4w 22 | TXR3ZTB2NDErVlpWVWdLSWtaQ3oxaFZoZmw5SjdMY2lnVEE4dWlYSkMvUGtCb1FP 23 | WmVBdXdGV1V5RXJaUWZjRURhN1pyQ3dYYmc9PSJ9 24 | -----END ENCRYPTED COSIGN PRIVATE KEY----- 25 | " 26 | 27 | export COSIGN_PASSWORD="EobEPyGC6rZ2*mg7" 28 | 29 | # VAR="ghcr.io/goreleaser/goreleaser-cross:v1.17.6 30 | # ghcr.io/goreleaser/goreleaser-cross:v1.18.3 31 | # ghcr.io/goreleaser/goreleaser-cross:v1.19.2 32 | # ghcr.io/goreleaser/goreleaser-cross:v1.19.3-amd64 33 | # ghcr.io/goreleaser/goreleaser-cross:v1.19.3-arm64 34 | # ghcr.io/ovrclk/akash:0.16.3 35 | # ghcr.io/ovrclk/akash:0.18.0-rc0-amd64 36 | # ghcr.io/ovrclk/akash:0.18.0-rc0-arm64 37 | # ghcr.io/ovrclk/akash:1324f29f-amd64 38 | # ghcr.io/ovrclk/akash:1324f29f-arm64 39 | # ghcr.io/ovrclk/akash:adcc6adf 40 | # ghcr.io/ovrclk/akash:latest-amd64 41 | # ghcr.io/ovrclk/akash:latest-arm64 42 | # ghcr.io/ovrclk/akash:stable 43 | # ghcr.io/ovrclk/provider-services:latest-arm64 44 | # ghcr.io/troian/pihole:2022.10-arm64v8 45 | # ghcr.io/troian/pihole:latest 46 | # ghcr.io/troian/pihole:latest-arm64v8" 47 | 48 | set -x 49 | 50 | VAR="ghcr.io/goreleaser/goreleaser-cross:v1.18.3" 51 | 52 | while IFS=$'\n' read -r line; do 53 | base_name=$(echo "$line" | cut -d ":" -f 1) 54 | id=$(docker image inspect "$line" --format='{{.Id}}') 55 | 56 | cosign sign --upload=false --key env://COSIGN_PRIVATE_KEY --recursive $base_name@$id 57 | done <<< "${VAR}" 58 | 59 | -------------------------------------------------------------------------------- /patches/libcxx.patch: -------------------------------------------------------------------------------- 1 | From 2a6f7f5af9b82a568fa5ca8ad4d98edc910c68ed Mon Sep 17 00:00:00 2001 2 | From: Artur Troian 3 | Date: Fri, 12 Nov 2021 18:45:09 -0500 4 | Subject: [PATCH] fix(wrapper): inject libc++ when sdk version >= 11.1 5 | 6 | fixes #313 7 | 8 | Signed-off-by: Artur Troian 9 | --- 10 | wrapper/target.cpp | 4 ++++ 11 | 1 file changed, 4 insertions(+) 12 | 13 | diff --git a/wrapper/target.cpp b/wrapper/target.cpp 14 | index 82bf65c..a81ce97 100644 15 | --- a/wrapper/target.cpp 16 | +++ b/wrapper/target.cpp 17 | @@ -741,6 +741,10 @@ bool Target::setup() { 18 | (stdlib == StdLib::libstdcxx && usegcclibs)) { 19 | fargs.push_back("-nostdinc++"); 20 | fargs.push_back("-Qunused-arguments"); 21 | + 22 | + if ((SDKOSNum >= OSVersion(11, 1)) && (stdlib == StdLib::libcxx)) { 23 | + fargs.push_back("-lc++"); 24 | + } 25 | } 26 | 27 | if (stdlib == StdLib::libstdcxx && usegcclibs && targetarch.size() < 2 && 28 | -- 29 | 2.30.1 (Apple Git-130) 30 | 31 | -------------------------------------------------------------------------------- /scripts/build-cross.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -ex 4 | 5 | arch=$1 6 | images=$2 7 | buildargs=$3 8 | 9 | # shellcheck disable=SC2016 10 | dockerfile=$(sed 's/goreleaser-cross-base:.*/goreleaser-cross-base:\$TAG_VERSION-\$TARGETARCH/' < Dockerfile) 11 | 12 | # shellcheck disable=SC2086 13 | docker build --platform=linux/"${arch}" $images \ 14 | $buildargs \ 15 | . -f- </dev/null 2>&1 && pwd)" 21 | 22 | if [[ $# -ne 2 ]]; then 23 | echo "illegal number of parameters" 24 | exit 1 25 | fi 26 | 27 | to_tag=$1 28 | 29 | version_rel="^[v|V]?(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.?(0|[1-9][0-9]*)?$" 30 | version_prerel="^[v|V]?(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(\\-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$" 31 | 32 | if [[ -z $("${SCRIPT_DIR}"/semver.sh get prerel "$to_tag") ]]; then 33 | tag_regexp=$version_rel 34 | else 35 | tag_regexp=$version_prerel 36 | fi 37 | 38 | query_string="$to_tag" 39 | 40 | git-chglog --config .chglog/config.yaml --tag-filter-pattern="$tag_regexp" --output "$2" "$query_string" 41 | -------------------------------------------------------------------------------- /scripts/goreleaser-manifest-push.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | image=$1 4 | IFS=' ' read -r -a manifest_tags <<< "$2" 5 | 6 | for tag in "${manifest_tags[@]}"; do 7 | docker manifest push "${image}:$tag" 8 | done 9 | -------------------------------------------------------------------------------- /scripts/goreleaser-manifest.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | version=$1 4 | image=$2 5 | 6 | image_ver="${image}:${version}" 7 | 8 | IFS=' ' read -r -a manifest_tags <<< "$3" 9 | IFS=' ' read -r -a subimages <<< "$4" 10 | 11 | digests=() 12 | 13 | for arch in "${subimages[@]}"; do 14 | digests+=("$(docker inspect "${image_ver}-${arch}" | jq -r '.[].RepoDigests | .[0]')") 15 | done 16 | 17 | for tag in "${manifest_tags[@]}"; do 18 | manifest=${image}:$tag 19 | docker manifest rm "$manifest" 2>/dev/null || true 20 | docker manifest create "$manifest" "${digests[@]}" 21 | done 22 | -------------------------------------------------------------------------------- /scripts/image-tags.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | 4 | # in akash even minor part of the tag indicates release belongs to the MAINNET 5 | # using it as scripts simplifies debugging as well as portability 6 | SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" 7 | 8 | function generate_interim_tags { 9 | local hub="goreleaser/$1" 10 | local tag=$2 11 | local tag_minor 12 | local registries 13 | 14 | # shellcheck disable=SC2206 15 | registries=($3) 16 | 17 | tag_minor=v$("${SCRIPT_DIR}/semver.sh" get major "$tag").$("${SCRIPT_DIR}/semver.sh" get minor "$tag") 18 | 19 | for registry in "${registries[@]}"; do 20 | image=$hub 21 | if [[ "$registry" != "docker.io" ]]; then 22 | image=$registry/$image 23 | fi 24 | 25 | if [[ $("${SCRIPT_DIR}"/is_prerelease.sh "$tag") == true ]]; then 26 | echo "$image:$tag" 27 | else 28 | echo "$image:$tag" 29 | echo "$image:$tag_minor" 30 | echo "$image:latest" 31 | fi 32 | done 33 | 34 | exit 0 35 | } 36 | 37 | function generate_tags { 38 | local hub="goreleaser/$1" 39 | local tag=$2 40 | local GORELEASER_VERSION=v$GORELEASER_VERSION 41 | local tag_minor 42 | local registries 43 | 44 | # shellcheck disable=SC2206 45 | registries=($3) 46 | tag_minor=v$("${SCRIPT_DIR}/semver.sh" get major "$tag").$("${SCRIPT_DIR}/semver.sh" get minor "$tag") 47 | 48 | for registry in "${registries[@]}"; do 49 | image=$hub 50 | if [[ "$registry" != "docker.io" ]]; then 51 | image=$registry/$image 52 | fi 53 | 54 | if [[ $("${SCRIPT_DIR}"/is_prerelease.sh "$tag") == true ]]; then 55 | echo "$image:$tag-$GORELEASER_VERSION" 56 | echo "$image:$tag.$GORELEASER_VERSION" 57 | echo "$image:$tag" 58 | else 59 | echo "$image:$tag.$GORELEASER_VERSION" 60 | echo "$image:$tag-$GORELEASER_VERSION" 61 | echo "$image:$tag_minor.$GORELEASER_VERSION" 62 | echo "$image:$tag_minor-$GORELEASER_VERSION" 63 | echo "$image:$tag_minor" 64 | echo "$image:$tag" 65 | echo "$image:latest" 66 | fi 67 | done 68 | 69 | exit 0 70 | } 71 | 72 | case $1 in 73 | cross-base) 74 | generate_interim_tags "goreleaser-$1" "$2" "$3" 75 | ;; 76 | cross|cross-pro) 77 | generate_tags "goreleaser-$1" "$2" "$3" 78 | ;; 79 | esac 80 | -------------------------------------------------------------------------------- /scripts/is_prerelease.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # in akash even minor part of the tag indicates release belongs to the MAINNET 4 | # using it as scripts simplifies debugging as well as portability 5 | SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" 6 | 7 | if [[ $# -ne 1 ]]; then 8 | echo "illegal number of parameters" 9 | exit 1 10 | fi 11 | 12 | [[ -n $("${SCRIPT_DIR}"/semver.sh get prerel "$1") ]] && echo -n true || echo -n false 13 | -------------------------------------------------------------------------------- /scripts/make_tarballs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Make MacOSX-SDKs release tarballs 4 | 5 | TARGET="$(pwd)"; 6 | LOGFILE="$(mktemp)"; 7 | SDKS=""; 8 | 9 | log() { 10 | echo "$@" 2>&1 | tee "$LOGFILE"; 11 | } 12 | 13 | log "Current Directory: $TARGET"; 14 | log "Log: $LOGFILE"; 15 | 16 | if [[ $# -eq 0 ]]; then 17 | log "Building release tarballs."; 18 | else 19 | log "This script does not take arguments."; 20 | exit; 21 | fi 22 | 23 | if [[ ! -d "$TARGET/release/" ]]; then 24 | log "Making release directory at $TARGET/release/"; 25 | mkdir "$TARGET/release/"; 26 | else 27 | echo -n "An old release directory was found. Would you like to delete it before proceeding? [Y/n]: "; 28 | read DELETE_RELEASES; 29 | echo ""; 30 | if [[ ! "$DELETE_RELEASES" -eq "n" ]]; then 31 | log "Removing old release directory at $TARGET/release/"; 32 | rm -rf "$TARGET/release/"; 33 | log "Making release directory at $TARGET/release/"; 34 | mkdir "$TARGET/release/"; 35 | else 36 | log "Moving old release directory to $TARGET/release_backup/"; 37 | mv "$TARGET/release/" "$TARGET/release_backup/"; 38 | log "Making release directory at $TARGET/release/"; 39 | mkdir "$TARGET/release/"; 40 | fi 41 | fi 42 | SDKS=""; 43 | for sdk_directory in *.sdk; do 44 | log "Compressing $sdk_directory to $sdk_directory.tar.xz..."; 45 | tar -cpJf "release/$sdk_directory.tar.xz" "$sdk_directory"; 46 | SDKS="${SDKS} $sdk_directory" 47 | done 48 | 49 | log "Done. Contents of $TARGET/release/:"; 50 | du -h "$TARGET/release/"* | sed s/release\\\///g 2>&1 | tee "$LOGFILE"; 51 | -------------------------------------------------------------------------------- /scripts/semver.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -o errexit -o nounset -o pipefail 4 | 5 | SEMVER_REGEX="^[v|V]?(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(\\-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$" 6 | 7 | SEMVER_REGEX_LEGACY="^[v|V]?(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(\\.0|[1-9][0-9]*)?(\\-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$" 8 | 9 | PROG=semver 10 | PROG_VERSION=2.2.0 11 | 12 | USAGE="\ 13 | Usage: 14 | $PROG bump (major|minor|patch|release|prerel |build ) 15 | $PROG compare 16 | $PROG get (major|minor|patch|release|prerel|build) 17 | $PROG --help 18 | $PROG --version 19 | Arguments: 20 | A version must match the following regex pattern: 21 | \"${SEMVER_REGEX}\". 22 | In english, the version must match X.Y.Z(-PRERELEASE)(+BUILD) 23 | where X, Y and Z are positive integers, PRERELEASE is an optional 24 | string composed of alphanumeric characters and hyphens and 25 | BUILD is also an optional string composed of alphanumeric 26 | characters and hyphens. 27 | See definition. 28 | String that must be composed of alphanumeric characters and hyphens. 29 | String that must be composed of alphanumeric characters and hyphens. 30 | Options: 31 | -v, --version Print the version of this tool. 32 | -h, --help Print this help message. 33 | Commands: 34 | bump Bump by one of major, minor, patch, prerel, build 35 | or a forced potentially conflicting version. The bumped version is 36 | shown to stdout. 37 | compare Compare with , output to stdout the 38 | following values: -1 if is newer, 0 if equal, 1 if 39 | older. 40 | get Extract given part of , where part is one of major, minor, 41 | patch, prerel, build. 42 | validate Check version string is valid" 43 | 44 | 45 | function error { 46 | echo -e "$1" >&2 47 | exit 1 48 | } 49 | 50 | function usage-help { 51 | error "$USAGE" 52 | } 53 | 54 | function usage-version { 55 | echo -e "${PROG}: $PROG_VERSION" 56 | exit 0 57 | } 58 | 59 | function validate-version { 60 | local version=$1 61 | if [[ "$version" =~ $SEMVER_REGEX ]]; then 62 | # if a second argument is passed, store the result in var named by $2 63 | if [[ "$#" -eq "2" ]]; then 64 | local major=${BASH_REMATCH[1]} 65 | local minor=${BASH_REMATCH[2]} 66 | local patch=${BASH_REMATCH[3]} 67 | local prere=${BASH_REMATCH[4]} 68 | local build=${BASH_REMATCH[6]} 69 | eval "$2=(\"${major}\" \"${minor}\" \"${patch}\" \"${prere}\" \"${build}\")" 70 | else 71 | echo "$version" 72 | fi 73 | elif [[ "$version" =~ $SEMVER_REGEX_LEGACY ]]; then 74 | # if a second argument is passed, store the result in var named by $2 75 | if [[ "$#" -eq "2" ]]; then 76 | local major=${BASH_REMATCH[1]} 77 | local minor=${BASH_REMATCH[2]} 78 | local patch=0 79 | local prere=${BASH_REMATCH[4]} 80 | local build=${BASH_REMATCH[6]} 81 | eval "$2=(\"${major}\" \"${minor}\" \"${patch}\" \"${prere}\" \"${build}\")" 82 | else 83 | echo "$version" 84 | fi 85 | else 86 | error "version $version does not match the semver scheme 'X.Y.Z(-PRERELEASE)(+BUILD)'. See help for more information." 87 | fi 88 | } 89 | 90 | function compare-version { 91 | validate-version "$1" V 92 | validate-version "$2" V_ 93 | 94 | # MAJOR, MINOR and PATCH should compare numerically 95 | for i in 0 1 2; do 96 | local diff=$((${V[$i]} - ${V_[$i]})) 97 | if [[ ${diff} -lt 0 ]]; then 98 | echo -1; 99 | return 0 100 | elif [[ ${diff} -gt 0 ]]; then 101 | echo 1; 102 | return 0 103 | fi 104 | done 105 | 106 | # PREREL should compare with the ASCII order. 107 | if [[ -z "${V[3]}" ]] && [[ -n "${V_[3]}" ]]; then 108 | echo -1; 109 | return 0; 110 | elif [[ -n "${V[3]}" ]] && [[ -z "${V_[3]}" ]]; then 111 | echo 1; 112 | return 0; 113 | elif [[ -n "${V[3]}" ]] && [[ -n "${V_[3]}" ]]; then 114 | if [[ "${V[3]}" > "${V_[3]}" ]]; then 115 | echo 1; 116 | return 0; 117 | elif [[ "${V[3]}" < "${V_[3]}" ]]; then 118 | echo -1; 119 | return 0; 120 | fi 121 | fi 122 | 123 | echo 0 124 | } 125 | 126 | function command-bump { 127 | local new; 128 | local version; 129 | local sub_version; 130 | local command; 131 | 132 | case $# in 133 | 2) 134 | case $1 in 135 | major | minor | patch | release) 136 | command=$1; 137 | version=$2 ;; 138 | *) 139 | usage-help ;; 140 | esac ;; 141 | 3) 142 | case $1 in 143 | prerel | build) 144 | command=$1; 145 | sub_version=$2 version=$3 ;; 146 | *) 147 | usage-help ;; 148 | esac ;; 149 | *) 150 | usage-help ;; 151 | esac 152 | 153 | validate-version "$version" parts 154 | # shellcheck disable=SC2154 155 | local major="${parts[0]}" 156 | local minor="${parts[1]}" 157 | local patch="${parts[2]}" 158 | local prere="${parts[3]}" 159 | local build="${parts[4]}" 160 | 161 | case "$command" in 162 | major) 163 | new="$((major + 1)).0.0" ;; 164 | minor) 165 | new="${major}.$((minor + 1)).0" ;; 166 | patch) 167 | new="${major}.${minor}.$((patch + 1))" ;; 168 | release) 169 | new="${major}.${minor}.${patch}" ;; 170 | prerel) 171 | new=$(validate-version "${major}.${minor}.${patch}-${sub_version}") ;; 172 | build) 173 | new=$(validate-version "${major}.${minor}.${patch}${prere}+${sub_version}") ;; 174 | *) 175 | usage-help ;; 176 | esac 177 | 178 | echo "$new" 179 | exit 0 180 | } 181 | 182 | function command-compare { 183 | local v; 184 | local v_; 185 | 186 | case $# in 187 | 2) 188 | v=$(validate-version "$1"); 189 | v_=$(validate-version "$2") ;; 190 | *) 191 | usage-help ;; 192 | esac 193 | 194 | compare-version "$v" "$v_" 195 | exit 0 196 | } 197 | 198 | # shellcheck disable=SC2034 199 | function command-get { 200 | local part version 201 | 202 | if [[ "$#" -ne "2" ]] || [[ -z "$1" ]] || [[ -z "$2" ]]; then 203 | usage-help 204 | fi 205 | 206 | part="$1" 207 | version="$2" 208 | 209 | validate-version "$version" parts 210 | local major="${parts[0]}" 211 | local minor="${parts[1]}" 212 | local patch="${parts[2]}" 213 | local prerel="${parts[3]:1}" 214 | local build="${parts[4]:1}" 215 | 216 | case "$part" in 217 | "major-minor") 218 | echo "$major.$minor" 219 | ;; 220 | major | minor | patch | release | prerel | build) 221 | echo "${!part}" ;; 222 | *) 223 | usage-help ;; 224 | esac 225 | 226 | exit 0 227 | } 228 | 229 | case $# in 230 | 0) 231 | echo "Unknown command: $*"; 232 | usage-help ;; 233 | esac 234 | 235 | case $1 in 236 | --help | -h) 237 | echo -e "$USAGE"; 238 | exit 0 ;; 239 | --version | -v) 240 | usage-version ;; 241 | bump) 242 | shift; 243 | command-bump "$@" ;; 244 | get) 245 | shift; 246 | command-get "$@" ;; 247 | compare) 248 | shift; 249 | command-compare "$@" ;; 250 | validate) 251 | shift; 252 | validate-version "$@" V ;; 253 | *) 254 | echo "Unknown arguments: $*"; 255 | usage-help ;; 256 | esac 257 | -------------------------------------------------------------------------------- /scripts/sysroot-rsync.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | PROG=sysroot-rsync 4 | 5 | USAGE="\ 6 | Usage: 7 | $PROG remote_host local_dir 8 | $PROG --help 9 | Arguments: 10 | remove_host ssh host to sync from 11 | local_dir local dir to sync to 12 | Options: 13 | -v, --version Print the version of this tool. 14 | -h, --help Print this help message. 15 | -i SSH key" 16 | 17 | argn=$# 18 | 19 | #DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" 20 | 21 | function error() { 22 | echo -e "$1" >&2 23 | exit 1 24 | } 25 | 26 | function usage-help() { 27 | error "$USAGE" 28 | } 29 | 30 | ssh_key="" 31 | 32 | exclude_list=() 33 | include_list=() 34 | 35 | exclude_list+=(--exclude "/bin") 36 | exclude_list+=(--exclude "/boot") 37 | exclude_list+=(--exclude "/boot*") 38 | exclude_list+=(--exclude "/dev") 39 | exclude_list+=(--exclude "/etc") 40 | exclude_list+=(--exclude "/home") 41 | exclude_list+=(--exclude "/lib/dhcpd") 42 | exclude_list+=(--exclude "/lib/firmware") 43 | exclude_list+=(--exclude "/lib/hdparm") 44 | exclude_list+=(--exclude "/lib/ifupdown") 45 | exclude_list+=(--exclude "/lib/modules") 46 | exclude_list+=(--exclude "/lib/modprobe.d") 47 | exclude_list+=(--exclude "/lib/modules-load.d") 48 | exclude_list+=(--exclude "/lib/resolvconf") 49 | exclude_list+=(--exclude "/lib/startpar") 50 | exclude_list+=(--exclude "/lib/systemd") 51 | exclude_list+=(--exclude "/lib/terminfo") 52 | exclude_list+=(--exclude "/lib/udev") 53 | exclude_list+=(--exclude "/lib/xtables") 54 | exclude_list+=(--exclude "/lib/ssl/private") 55 | exclude_list+=(--exclude "/lost+found") 56 | exclude_list+=(--exclude "/media") 57 | exclude_list+=(--exclude "/mnt") 58 | exclude_list+=(--exclude "/proc") 59 | exclude_list+=(--exclude "/root") 60 | exclude_list+=(--exclude "/run") 61 | exclude_list+=(--exclude "/sbin") 62 | exclude_list+=(--exclude "/srv") 63 | exclude_list+=(--exclude "/sys") 64 | exclude_list+=(--exclude "/tmp") 65 | exclude_list+=(--exclude "/usr/bin") 66 | exclude_list+=(--exclude "/usr/games") 67 | exclude_list+=(--exclude "/usr/sbin") 68 | exclude_list+=(--exclude "/usr/share") 69 | exclude_list+=(--exclude "/usr/src") 70 | exclude_list+=(--exclude "/usr/local/bin") 71 | exclude_list+=(--exclude "/usr/local/etc") 72 | exclude_list+=(--exclude "/usr/local/games") 73 | exclude_list+=(--exclude "/usr/local/man") 74 | exclude_list+=(--exclude "/usr/local/sbin") 75 | exclude_list+=(--exclude "/usr/local/share") 76 | exclude_list+=(--exclude "/usr/local/src") 77 | exclude_list+=(--exclude "/usr/lib/ssl/private") 78 | exclude_list+=(--exclude "/var") 79 | exclude_list+=(--exclude "/snap") 80 | exclude_list+=(--exclude "*python*") 81 | 82 | include_list+=(--include "*.a") 83 | include_list+=(--include "*.so") 84 | include_list+=(--include "*.so.*") 85 | include_list+=(--include "*.h") 86 | include_list+=(--include "*.hh") 87 | include_list+=(--include "*.hpp") 88 | include_list+=(--include "*.hxx") 89 | include_list+=(--include "*.pc") 90 | include_list+=(--include "/lib") 91 | include_list+=(--include "/lib32") 92 | include_list+=(--include "/lib64") 93 | include_list+=(--include "/libx32") 94 | include_list+=(--include "*/") 95 | 96 | function do-sync() { 97 | from=$1 98 | to=$2 99 | 100 | args=() 101 | args+=(-a) 102 | args+=(-z) 103 | args+=(-m) 104 | args+=(-d) 105 | args+=(-h) 106 | 107 | if [[ -n $ssh_key ]]; then 108 | args+=("-e \"ssh -i $ssh_key\"") 109 | fi 110 | 111 | args+=(--keep-dirlinks) 112 | args+=("--info=progress2") 113 | args+=(--delete) 114 | args+=(--prune-empty-dirs) 115 | args+=(--sparse) 116 | args+=(--links) 117 | args+=(--copy-unsafe-links) 118 | args+=("${exclude_list[@]}") 119 | args+=("${include_list[@]}") 120 | args+=(--exclude "*") 121 | args+=("$from") 122 | args+=("$to") 123 | 124 | echo "${args[@]}" 125 | rsync "${args[@]}" 126 | 127 | exit $? 128 | } 129 | 130 | while getopts ":i:" opt; do 131 | # shellcheck disable=SC2220 132 | case ${opt} in 133 | i) 134 | ssh_key=$OPTARG 135 | ;; 136 | :) 137 | echo "Invalid option: $OPTARG requires an argument" 1>&2 138 | usage-help 139 | ;; 140 | esac 141 | done 142 | 143 | shift $((OPTIND -1)) 144 | argn=$((argn - $((OPTIND -1)))) 145 | 146 | case $1 in 147 | --help | -h) 148 | echo -e "$USAGE" 149 | exit 0 150 | ;; 151 | *) 152 | if [[ $argn -ne 2 ]]; then 153 | echo "$argn" 154 | error "invalid arguments" 155 | usage-help 156 | exit 1 157 | fi 158 | 159 | do-sync "$1" "$2" 160 | ;; 161 | esac 162 | -------------------------------------------------------------------------------- /versions.json: -------------------------------------------------------------------------------- 1 | { 2 | "go" : [ 3 | "1.19.5", 4 | "1.19.6", 5 | "1.20", 6 | "1.20.1" 7 | ] 8 | } 9 | --------------------------------------------------------------------------------