From 601ba3569951dd3071f75936e69892821774f8b0 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 09:20:04 +0900 Subject: [PATCH 01/37] cicd: test --- .github/workflows/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 554bb92..4dada21 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,6 +15,10 @@ jobs: outputs: tag_name: ${{ steps.release.outputs.tag_name }} steps: + - uses: actions/checkout@v4 + id: read_version + run: | + ls -al - uses: release-drafter/release-drafter@v5 id: release with: From 29264866abbfa6595129784ba6f88b54bc914a05 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 09:22:57 +0900 Subject: [PATCH 02/37] No commit message --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4dada21..ae842d7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,7 +16,7 @@ jobs: tag_name: ${{ steps.release.outputs.tag_name }} steps: - uses: actions/checkout@v4 - id: read_version + - name: read_version run: | ls -al - uses: release-drafter/release-drafter@v5 From 07b48b31cd1b9f97507faf7cfed97a13851d1118 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 09:28:56 +0900 Subject: [PATCH 03/37] cicd: test --- .github/workflows/release.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ae842d7..f4b690e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,9 +16,14 @@ jobs: tag_name: ${{ steps.release.outputs.tag_name }} steps: - uses: actions/checkout@v4 - - name: read_version + - name: Read version + id: read_version run: | - ls -al + echo "version=$(cat VERSION | tr -d '[:space:]')" >> $GITHUB_OUTPUT + - name: Print version + id: print_version + run: | + echo ${{ steps.read_version.outputs.version }} - uses: release-drafter/release-drafter@v5 id: release with: From cc0d0d22ddc826eaa72caf579b3e471238a8bca2 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 09:30:17 +0900 Subject: [PATCH 04/37] No commit message --- .github/workflows/release.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f4b690e..3842505 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,18 +19,18 @@ jobs: - name: Read version id: read_version run: | - echo "version=$(cat VERSION | tr -d '[:space:]')" >> $GITHUB_OUTPUT + echo "version=$(cat version/VERSION | tr -d '[:space:]')" >> $GITHUB_OUTPUT - name: Print version id: print_version run: | echo ${{ steps.read_version.outputs.version }} - - uses: release-drafter/release-drafter@v5 - id: release - with: - config-name: release-template.yaml - version: v1.1.1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # - uses: release-drafter/release-drafter@v5 + # id: release + # with: + # config-name: release-template.yaml + # version: v1.1.1 + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # build_and_publish: # needs: draft_release From 33884c294c6ac5d35b4f19f7c8f0562253f8b1ca Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 09:32:07 +0900 Subject: [PATCH 05/37] cicd: test --- .github/workflows/release.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3842505..3cdce84 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,16 +21,15 @@ jobs: run: | echo "version=$(cat version/VERSION | tr -d '[:space:]')" >> $GITHUB_OUTPUT - name: Print version - id: print_version run: | echo ${{ steps.read_version.outputs.version }} - # - uses: release-drafter/release-drafter@v5 - # id: release - # with: - # config-name: release-template.yaml - # version: v1.1.1 - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: release-drafter/release-drafter@v5 + id: release + with: + config-name: release-template.yaml + version: ${{ steps.read_version.outputs.version }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # build_and_publish: # needs: draft_release From 2e080ec6229261435bfdd618bce9b174f5184aa3 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 09:45:56 +0900 Subject: [PATCH 06/37] cicd: test --- .github/workflows/release.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3cdce84..5f2b260 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,6 +31,26 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + release_arwin_amd64: + name: Release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: 1.21 + - name: Display Go version + run: go version + - name: Build linux/amd64 + env: + GOOS: darwin + GOARCH: amd64 + run: | + go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi + tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi + ls -al + # build_and_publish: # needs: draft_release # runs-on: ubuntu-latest From 9a804151ca8080494c232eb209115b31af5fc19c Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 09:54:30 +0900 Subject: [PATCH 07/37] cicd: test --- .github/workflows/publish.yaml | 33 +++++++++++++++++++++++++++++++++ .github/workflows/release.yaml | 20 -------------------- 2 files changed, 33 insertions(+), 20 deletions(-) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..583d5d5 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,33 @@ +# Trigger this workflow on release +on: + release: + types: [created] + +# Make sure the GITHUB_TOKEN has permission to upload to our releases +permissions: + contents: write + +jobs: + build_and_publish: + name: Build and publish + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: 1.21 + - name: Display Go version + run: go version + + - name: Build and publish linux/amd64 + env: + GOOS: darwin + GOARCH: amd64 + run: | + go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi + tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi + gh release upload ${{github.event.release.tag_name}} "spoof-dpi-$GOOS-$GOARCH.tar.gz" + env: + GITHUB_TOKEN: ${{ github.TOKEN }} + shell: bash diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5f2b260..3cdce84 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,26 +31,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - release_arwin_amd64: - name: Release linux/amd64 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Setup Go - uses: actions/setup-go@v5 - with: - go-version: 1.21 - - name: Display Go version - run: go version - - name: Build linux/amd64 - env: - GOOS: darwin - GOARCH: amd64 - run: | - go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi - tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi - ls -al - # build_and_publish: # needs: draft_release # runs-on: ubuntu-latest From 525b7379dbaa191a5a8729790411a401ce4d639e Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:02:54 +0900 Subject: [PATCH 08/37] cicd: test --- .github/workflows/publish.yaml | 33 --------------------------------- .github/workflows/release.yaml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 33 deletions(-) delete mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml deleted file mode 100644 index 583d5d5..0000000 --- a/.github/workflows/publish.yaml +++ /dev/null @@ -1,33 +0,0 @@ -# Trigger this workflow on release -on: - release: - types: [created] - -# Make sure the GITHUB_TOKEN has permission to upload to our releases -permissions: - contents: write - -jobs: - build_and_publish: - name: Build and publish - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Setup Go - uses: actions/setup-go@v5 - with: - go-version: 1.21 - - name: Display Go version - run: go version - - - name: Build and publish linux/amd64 - env: - GOOS: darwin - GOARCH: amd64 - run: | - go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi - tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi - gh release upload ${{github.event.release.tag_name}} "spoof-dpi-$GOOS-$GOARCH.tar.gz" - env: - GITHUB_TOKEN: ${{ github.TOKEN }} - shell: bash diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3cdce84..efefd39 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,6 +31,26 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + build_and_publish: + name: Release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: 1.21 + - name: Display Go version + run: go version + - name: Build linux/amd64 + env: + GOOS: darwin + GOARCH: amd64 + run: | + go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi + tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi + gh release upload ${{needs.draft_release.outputs.tag_name }} "spoof-dpi-$GOOS-$GOARCH.tar.gz" + # build_and_publish: # needs: draft_release # runs-on: ubuntu-latest From b1d61f6ddf34e00bb00c9b85642892d4670ff91c Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:05:01 +0900 Subject: [PATCH 09/37] cicd: test --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index efefd39..a031441 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -49,7 +49,7 @@ jobs: run: | go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi - gh release upload ${{needs.draft_release.outputs.tag_name }} "spoof-dpi-$GOOS-$GOARCH.tar.gz" + gh release upload ${{ needs.draft_release.outputs.tag_name }} "spoof-dpi-$GOOS-$GOARCH.tar.gz" # build_and_publish: # needs: draft_release From dd37dace5a334d7d83ef5cb394ada2d4f6e37c9f Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:09:14 +0900 Subject: [PATCH 10/37] cicd: test --- .github/workflows/release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a031441..5197013 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,7 +10,6 @@ jobs: permissions: contents: write pull-requests: write - runs-on: ubuntu-latest outputs: tag_name: ${{ steps.release.outputs.tag_name }} @@ -46,10 +45,12 @@ jobs: env: GOOS: darwin GOARCH: amd64 + env: + TAG_NAME: ${{ needs.draft_release.outputs.tag_name }} run: | go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi - gh release upload ${{ needs.draft_release.outputs.tag_name }} "spoof-dpi-$GOOS-$GOARCH.tar.gz" + gh release upload $TAG_NAME "spoof-dpi-$GOOS-$GOARCH.tar.gz" # build_and_publish: # needs: draft_release From 389e40baf7d9a3cb92e628d9907046ac966ef7cd Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:11:27 +0900 Subject: [PATCH 11/37] cicd: test --- .github/workflows/release.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5197013..7d59db9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -45,8 +45,7 @@ jobs: env: GOOS: darwin GOARCH: amd64 - env: - TAG_NAME: ${{ needs.draft_release.outputs.tag_name }} + TAG_NAME: ${{ needs.draft_release.outputs.tag_name }} run: | go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi From 2bb1180b49f7c8e79cae8f5b28b5566e7ec1235f Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:20:08 +0900 Subject: [PATCH 12/37] cicd: test --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7d59db9..44f0bb7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,6 +13,7 @@ jobs: runs-on: ubuntu-latest outputs: tag_name: ${{ steps.release.outputs.tag_name }} + version: ${{ steps.read_version.outputs.version }} steps: - uses: actions/checkout@v4 - name: Read version @@ -33,6 +34,8 @@ jobs: build_and_publish: name: Release linux/amd64 runs-on: ubuntu-latest + env: + TAG_NAME: ${{ needs.read_version.outputs.version }} steps: - uses: actions/checkout@v4 - name: Setup Go @@ -45,7 +48,6 @@ jobs: env: GOOS: darwin GOARCH: amd64 - TAG_NAME: ${{ needs.draft_release.outputs.tag_name }} run: | go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi From 2c9aa21ff482c0eb0d5f4116e47ec9a66302e126 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:24:18 +0900 Subject: [PATCH 13/37] cicd: test --- .github/workflows/release.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 44f0bb7..9d3e429 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,13 +7,12 @@ permissions: jobs: draft_release: - permissions: - contents: write - pull-requests: write runs-on: ubuntu-latest outputs: tag_name: ${{ steps.release.outputs.tag_name }} - version: ${{ steps.read_version.outputs.version }} + permissions: + contents: write + pull-requests: write steps: - uses: actions/checkout@v4 - name: Read version @@ -32,10 +31,11 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} build_and_publish: - name: Release linux/amd64 runs-on: ubuntu-latest + needs: draft_release + name: Release linux/amd64 env: - TAG_NAME: ${{ needs.read_version.outputs.version }} + TAG_NAME: ${{ needs.draft_release.outputs.tag_name }} steps: - uses: actions/checkout@v4 - name: Setup Go From bfe60758b969ae287eb9d88628bcefbc0ca092a7 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:25:57 +0900 Subject: [PATCH 14/37] cicd: test --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9d3e429..2c25879 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -35,6 +35,7 @@ jobs: needs: draft_release name: Release linux/amd64 env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG_NAME: ${{ needs.draft_release.outputs.tag_name }} steps: - uses: actions/checkout@v4 From 465f30011ed7f79bb53edfde65fbea873f1ff292 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:29:32 +0900 Subject: [PATCH 15/37] cicd: test --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2c25879..1b6ae9b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -52,7 +52,7 @@ jobs: run: | go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi - gh release upload $TAG_NAME "spoof-dpi-$GOOS-$GOARCH.tar.gz" + gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" # build_and_publish: # needs: draft_release From 37837f2ee6590021d67884b053cf87be81a23279 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:36:05 +0900 Subject: [PATCH 16/37] cicd: test --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1b6ae9b..26a42f2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -52,7 +52,8 @@ jobs: run: | go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi - gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" + gh release list + # gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" # build_and_publish: # needs: draft_release From decc5ec2c5cbdd4e8402ecc352d39c5e1bb54e23 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:48:03 +0900 Subject: [PATCH 17/37] cicd: test --- .github/workflows/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 26a42f2..8574afe 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,6 +27,7 @@ jobs: with: config-name: release-template.yaml version: ${{ steps.read_version.outputs.version }} + latest: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -53,6 +54,7 @@ jobs: go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi gh release list + gh --version # gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" # build_and_publish: From bbff2c983c810186481bcf32d771fb7bea3d0243 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:52:58 +0900 Subject: [PATCH 18/37] cicd: test --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8574afe..09d55cb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -53,7 +53,7 @@ jobs: run: | go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi - gh release list + gh release list --json name gh --version # gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" From 67d5005075a3df8fbd6577736cd6ce143853b8eb Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:56:28 +0900 Subject: [PATCH 19/37] cicd: test --- .github/workflows/release.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 09d55cb..2f86629 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -35,6 +35,9 @@ jobs: runs-on: ubuntu-latest needs: draft_release name: Release linux/amd64 + permissions: + contents: write + pull-requests: write env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG_NAME: ${{ needs.draft_release.outputs.tag_name }} From 864bea2fae585f4ca9e5638e6e4896572c4c7bcf Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 10:57:59 +0900 Subject: [PATCH 20/37] cicd: test --- .github/workflows/release.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2f86629..f123927 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -56,9 +56,7 @@ jobs: run: | go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi - gh release list --json name - gh --version - # gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" + gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" # build_and_publish: # needs: draft_release From 8bacc222ed04a262f034a36ed9e3b6a4d09edbae Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 11:02:41 +0900 Subject: [PATCH 21/37] cicd: test --- .github/workflows/release.yaml | 65 +++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f123927..e69ef16 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -49,7 +49,8 @@ jobs: go-version: 1.21 - name: Display Go version run: go version - - name: Build linux/amd64 + + - name: Build and publish darwin/amd64 env: GOOS: darwin GOARCH: amd64 @@ -58,6 +59,68 @@ jobs: tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" + - name: Build and publish darwin/arm64 + env: + GOOS: darwin + GOARCH: arm64 + run: | + go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi + tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi + gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" + + - name: Build and publish linux/amd64 + env: + GOOS: linux + GOARCH: amd64 + run: | + go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi + tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi + gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" + + - name: Build and publish linux/arm + env: + GOOS: linux + GOARCH: arm + run: | + go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi + tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi + gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" + + - name: Build and publish linux/arm64 + env: + GOOS: linux + GOARCH: arm64 + run: | + go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi + tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi + gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" + + - name: Build and publish linux/mips + env: + GOOS: linux + GOARCH: mips + run: | + go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi + tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi + gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" + + - name: Build and publish linux/mipsle + env: + GOOS: linux + GOARCH: mipsle + run: | + go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi + tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi + gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" + + - name: Build and publish windows/amd64 + env: + GOOS: windows + GOARCH: amd64 + run: | + go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi + gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.exe + # build_and_publish: # needs: draft_release # runs-on: ubuntu-latest From 9e9587455d8372243c5428aa8d6363139a662b36 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 11:07:00 +0900 Subject: [PATCH 22/37] cicd: test --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e69ef16..88c4d1f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -118,8 +118,8 @@ jobs: GOOS: windows GOARCH: amd64 run: | - go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi - gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.exe + go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi -o "spoof-dpi-$GOOS"-"$GOARCH.exe" + gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.exe" # build_and_publish: # needs: draft_release From 5aafa4f636aa1bff1436835227df097d13ae3d10 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 11:07:22 +0900 Subject: [PATCH 23/37] cicd: test --- .github/release-template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/release-template.yaml b/.github/release-template.yaml index 62721d6..21374c4 100644 --- a/.github/release-template.yaml +++ b/.github/release-template.yaml @@ -1,4 +1,4 @@ -name-template: 'v$RESOLVED_VERSION 🌈' +name-template: 'v$RESOLVED_VERSION' tag-template: 'v$RESOLVED_VERSION' change-template: '- $TITLE @$AUTHOR (#$NUMBER)' change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. From b4ac01d01d34ca43c89ebf467bd3f8b936dc4f25 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 11:11:21 +0900 Subject: [PATCH 24/37] cicd: test --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 88c4d1f..69a0ff4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -118,7 +118,7 @@ jobs: GOOS: windows GOARCH: amd64 run: | - go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi -o "spoof-dpi-$GOOS"-"$GOARCH.exe" + go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi -o "spoof-dpi-$GOOS-$GOARCH.exe" gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.exe" # build_and_publish: From 27c9a7ad6aa649a7ecfbb4f8fafb936fce76c817 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 11:14:31 +0900 Subject: [PATCH 25/37] cicd: test --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 69a0ff4..40012c2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -118,7 +118,7 @@ jobs: GOOS: windows GOARCH: amd64 run: | - go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi -o "spoof-dpi-$GOOS-$GOARCH.exe" + go build -ldflags="-w -s" -o "spoof-dpi-$GOOS-$GOARCH.exe" github.com/xvzc/SpoofDPI/cmd/spoof-dpi gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.exe" # build_and_publish: From 9c9f675bf56fb8384194ba3b951a5a8573601b1e Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 12:41:53 +0900 Subject: [PATCH 26/37] cicd: test --- .github/workflows/release.yaml | 39 +++++++++------------------------- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 40012c2..2d3562a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,7 +26,9 @@ jobs: id: release with: config-name: release-template.yaml + name: ${{ steps.read_version.outputs.version }} version: ${{ steps.read_version.outputs.version }} + tag: ${{ steps.read_version.outputs.version }} latest: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -50,7 +52,7 @@ jobs: - name: Display Go version run: go version - - name: Build and publish darwin/amd64 + - name: darwin/amd64 env: GOOS: darwin GOARCH: amd64 @@ -59,7 +61,7 @@ jobs: tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" - - name: Build and publish darwin/arm64 + - name: darwin/arm64 env: GOOS: darwin GOARCH: arm64 @@ -68,7 +70,7 @@ jobs: tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" - - name: Build and publish linux/amd64 + - name: linux/amd64 env: GOOS: linux GOARCH: amd64 @@ -77,7 +79,7 @@ jobs: tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" - - name: Build and publish linux/arm + - name: linux/arm env: GOOS: linux GOARCH: arm @@ -86,7 +88,7 @@ jobs: tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" - - name: Build and publish linux/arm64 + - name: linux/arm64 env: GOOS: linux GOARCH: arm64 @@ -95,7 +97,7 @@ jobs: tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" - - name: Build and publish linux/mips + - name: linux/mips env: GOOS: linux GOARCH: mips @@ -104,7 +106,7 @@ jobs: tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" - - name: Build and publish linux/mipsle + - name: linux/mipsle env: GOOS: linux GOARCH: mipsle @@ -113,7 +115,7 @@ jobs: tar -zcvf "spoof-dpi-$GOOS-$GOARCH.tar.gz" ./spoof-dpi && rm -rf ./spoof-dpi gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.tar.gz" - - name: Build and publish windows/amd64 + - name: windows/amd64 env: GOOS: windows GOARCH: amd64 @@ -121,24 +123,3 @@ jobs: go build -ldflags="-w -s" -o "spoof-dpi-$GOOS-$GOARCH.exe" github.com/xvzc/SpoofDPI/cmd/spoof-dpi gh release upload $TAG_NAME "./spoof-dpi-$GOOS-$GOARCH.exe" - # build_and_publish: - # needs: draft_release - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v3 - # - name: Set up Python 3.10 - # uses: actions/setup-python@v3 - # with: - # python-version: "3.10" - # - name: Initialize build environment - # run: | - # python -m pip install -r requirements.txt - # - name: Build pakage - # env: - # BOJ_CLI_NEXT_VERSION: ${{ needs.draft_release.outputs.tag_name }} - # run: | - # python setup.py sdist bdist_wheel - # - name: Publish to pypi - # uses: pypa/gh-action-pypi-publish@release/v1 - # with: - # password: ${{ secrets.PYPI_API_TOKEN }} From a1cc96ad7ffba71cf799b771385b026234ee5870 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 12:42:04 +0900 Subject: [PATCH 27/37] cicd: test --- .github/release-template.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/release-template.yaml b/.github/release-template.yaml index 21374c4..3ec393f 100644 --- a/.github/release-template.yaml +++ b/.github/release-template.yaml @@ -1,5 +1,3 @@ -name-template: 'v$RESOLVED_VERSION' -tag-template: 'v$RESOLVED_VERSION' change-template: '- $TITLE @$AUTHOR (#$NUMBER)' change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. template: | From 3c41fd5061b5ddaed522d0e0d8af652ed52ca2a4 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 12:45:57 +0900 Subject: [PATCH 28/37] cicd: test --- .github/release-template.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/release-template.yaml b/.github/release-template.yaml index 3ec393f..8cdf65c 100644 --- a/.github/release-template.yaml +++ b/.github/release-template.yaml @@ -1,6 +1,4 @@ change-template: '- $TITLE @$AUTHOR (#$NUMBER)' -change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. +change-title-escapes: '\<*_&' template: | ## Changes - - $CHANGES From 84032058d4816548c834028ede621ddcfc731c51 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 12:48:24 +0900 Subject: [PATCH 29/37] cicd: test --- .github/release-template.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/release-template.yaml b/.github/release-template.yaml index 8cdf65c..9b3b97f 100644 --- a/.github/release-template.yaml +++ b/.github/release-template.yaml @@ -1,4 +1,5 @@ -change-template: '- $TITLE @$AUTHOR (#$NUMBER)' -change-title-escapes: '\<*_&' +# change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +# change-title-escapes: '\<*_&' template: | ## Changes + - From d8744c2da0c040c53d700a2138addbdbf448738b Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 12:51:32 +0900 Subject: [PATCH 30/37] cicd: test --- .github/{release-template.yaml => release-drafter.yml} | 1 + .github/workflows/release.yaml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) rename .github/{release-template.yaml => release-drafter.yml} (75%) diff --git a/.github/release-template.yaml b/.github/release-drafter.yml similarity index 75% rename from .github/release-template.yaml rename to .github/release-drafter.yml index 9b3b97f..33af27a 100644 --- a/.github/release-template.yaml +++ b/.github/release-drafter.yml @@ -1,3 +1,4 @@ +name-template: 'v$RESOLVED_VERSION' # change-template: '- $TITLE @$AUTHOR (#$NUMBER)' # change-title-escapes: '\<*_&' template: | diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2d3562a..4133ff0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,7 +25,6 @@ jobs: - uses: release-drafter/release-drafter@v5 id: release with: - config-name: release-template.yaml name: ${{ steps.read_version.outputs.version }} version: ${{ steps.read_version.outputs.version }} tag: ${{ steps.read_version.outputs.version }} From cca27bfa29700cabe5c1963abb7e1067aa0b6ef0 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 12:53:48 +0900 Subject: [PATCH 31/37] cicd: test --- .github/release-drafter.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 33af27a..106cc43 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,6 +1,5 @@ -name-template: 'v$RESOLVED_VERSION' -# change-template: '- $TITLE @$AUTHOR (#$NUMBER)' -# change-title-escapes: '\<*_&' +name-template: '$RESOLVED_VERSION' template: | ## Changes - - +# change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +# change-title-escapes: '\<*_&' From 8650e239d3c37428fa39f59a7df80112991cd6b9 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 12:55:07 +0900 Subject: [PATCH 32/37] cicd test --- .github/{release-drafter.yml => release-template.yaml} | 0 .github/workflows/release.yaml | 1 + 2 files changed, 1 insertion(+) rename .github/{release-drafter.yml => release-template.yaml} (100%) diff --git a/.github/release-drafter.yml b/.github/release-template.yaml similarity index 100% rename from .github/release-drafter.yml rename to .github/release-template.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4133ff0..2d3562a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,6 +25,7 @@ jobs: - uses: release-drafter/release-drafter@v5 id: release with: + config-name: release-template.yaml name: ${{ steps.read_version.outputs.version }} version: ${{ steps.read_version.outputs.version }} tag: ${{ steps.read_version.outputs.version }} From 1b6501b40a2b93d64a6224f292a64a07dd293eba Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 12:58:54 +0900 Subject: [PATCH 33/37] cicd: test --- .github/release-template.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/release-template.yaml b/.github/release-template.yaml index 106cc43..b94aacc 100644 --- a/.github/release-template.yaml +++ b/.github/release-template.yaml @@ -1,5 +1,17 @@ name-template: '$RESOLVED_VERSION' +categories: + - title: '🚀 Features' + labels: + - 'feature' + - 'enhancement' + - title: '🐛 Bug Fixes' + labels: + - 'fix' + - title: '🧰 Maintenance' + labels: + - 'chore' + - 'docs' template: | ## Changes -# change-template: '- $TITLE @$AUTHOR (#$NUMBER)' -# change-title-escapes: '\<*_&' + + $CHANGES From 1a17fe6c5ae321b8393e79d25ecccd7461bfd0da Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 13:00:59 +0900 Subject: [PATCH 34/37] cicd: test --- .github/release-template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/release-template.yaml b/.github/release-template.yaml index b94aacc..c634391 100644 --- a/.github/release-template.yaml +++ b/.github/release-template.yaml @@ -10,7 +10,7 @@ categories: - title: '🧰 Maintenance' labels: - 'chore' - - 'docs' + - 'documentation' template: | ## Changes From 8a78f4c4a323754fc8375eb43f627c2697a197ca Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 13:14:01 +0900 Subject: [PATCH 35/37] cicd: test --- .github/release-template.yaml | 16 ++-------------- .github/workflows/release.yaml | 2 +- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/release-template.yaml b/.github/release-template.yaml index c634391..e4a4536 100644 --- a/.github/release-template.yaml +++ b/.github/release-template.yaml @@ -1,17 +1,5 @@ name-template: '$RESOLVED_VERSION' -categories: - - title: '🚀 Features' - labels: - - 'feature' - - 'enhancement' - - title: '🐛 Bug Fixes' - labels: - - 'fix' - - title: '🧰 Maintenance' - labels: - - 'chore' - - 'documentation' template: | ## Changes - - $CHANGES + - + $CONTRIBUTORS diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2d3562a..11de65b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,7 +22,7 @@ jobs: - name: Print version run: | echo ${{ steps.read_version.outputs.version }} - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v6 id: release with: config-name: release-template.yaml From bbbf310b3bbdf706d1b52248827e0dd1954da67f Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 13:16:31 +0900 Subject: [PATCH 36/37] cicd: test --- .github/workflows/release.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 11de65b..a13c8ef 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,11 +25,9 @@ jobs: - uses: release-drafter/release-drafter@v6 id: release with: - config-name: release-template.yaml name: ${{ steps.read_version.outputs.version }} version: ${{ steps.read_version.outputs.version }} tag: ${{ steps.read_version.outputs.version }} - latest: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 8a7ccec864bdd6324c2f57d5eb9758d77886b563 Mon Sep 17 00:00:00 2001 From: xvzc Date: Thu, 15 Aug 2024 13:16:49 +0900 Subject: [PATCH 37/37] cicd: test --- .github/{release-template.yaml => release-drafter.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{release-template.yaml => release-drafter.yml} (100%) diff --git a/.github/release-template.yaml b/.github/release-drafter.yml similarity index 100% rename from .github/release-template.yaml rename to .github/release-drafter.yml