From 2ba1db6bbad2c05070944cdca2a08d5420e169dc Mon Sep 17 00:00:00 2001 From: iGxnon Date: Wed, 17 Jul 2024 14:21:06 +0800 Subject: [PATCH] release ci Signed-off-by: iGxnon --- .github/workflows/release.yml | 29 +++++++++++++++++++++++++++++ CHANGELOG.md | 10 ++++++++++ Cargo.toml | 2 +- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..a53eb73 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,29 @@ +name: Release + +on: + push: + tags: + - "v*" + +jobs: + create_release: + name: Create Release + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Get release notes + id: changelog + run: | + echo "CHANGELOG=$(awk '/---/{i++; next} i==1' CHANGELOG.md)" >> $GITHUB_OUTPUT + + - name: Create Release + uses: actions/create-release@v1.1.4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + body: ${{ steps.changelog.outputs.CHANGELOG }} + draft: false + prerelease: false diff --git a/CHANGELOG.md b/CHANGELOG.md index e9e9230..e78a78a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,17 @@ ## Unreleased +- Support RFC6298 RttEstimator +--- +## 0.1.2 + +- Fix fragmented packets boundary +- Refactor lots of codes +- Ensure all packets are delivered after `poll_close` +- Add packet tracing powered by `minitrace` + +--- ## 0.1.1 - Add `tokio-udp` feature diff --git a/Cargo.toml b/Cargo.toml index 92abdf5..d489211 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "raknet-rs" -version = "0.1.1" +version = "0.1.2" edition = "2021" license = "Apache-2.0" authors = ["iGxnon"]