From ac616524893d59cd44a236f4a9a303f79b17564f Mon Sep 17 00:00:00 2001 From: Marco Pfatschbacher Date: Mon, 11 Dec 2023 18:01:12 +0000 Subject: [PATCH] add comments --- .github/workflows/pr-and-release-build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pr-and-release-build.yml b/.github/workflows/pr-and-release-build.yml index 00bd0f6..fb67529 100644 --- a/.github/workflows/pr-and-release-build.yml +++ b/.github/workflows/pr-and-release-build.yml @@ -82,6 +82,7 @@ jobs: dist/pkg - name: Chocolatey Push + # publish release if tags are pushed if: startsWith(github.ref, 'refs/tags/') uses: ./.github/shared/docker-chocolatey with: @@ -90,6 +91,7 @@ jobs: CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }} - name: "Upload sidecar artifacts to S3" + # publish release if tags are pushed if: startsWith(github.ref, 'refs/tags/') env: AWS_DEFAULT_REGION: "eu-west-1" @@ -99,6 +101,7 @@ jobs: aws s3 cp --no-progress --recursive dist/pkg s3://graylog2-releases/graylog-collector-sidecar/${{ github.ref_name }}/ - name: "Releasing to Github" + # publish release if tags are pushed if: startsWith(github.ref, 'refs/tags/') run: | gh release create ${{ github.ref_name }} --draft --notes "Insert changes here." dist/pkg/*