diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e7b564..6f582f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,7 @@ jobs: - "postgres" - "mysql" - "middleware/echo" + - "middleware/gin" - "middleware/nethttp" permissions: contents: write diff --git a/middleware/gin/.releaserc.json b/middleware/gin/.releaserc.json new file mode 100644 index 0000000..c4e5df2 --- /dev/null +++ b/middleware/gin/.releaserc.json @@ -0,0 +1,16 @@ +{ + "debug": true, + "branches": [ + "+([0-9])?(.{+([0-9]),x}).x", + "master", + { + "name": "beta", + "prerelease": true + } + ], + "plugins": [ + "@semantic-release/commit-analyzer", + "@semantic-release/git" + ], + "tagFormat": "middleware/gin/v${version}" +} \ No newline at end of file diff --git a/scripts/test.sh b/scripts/test.sh index 8cbb381..08cee02 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -20,6 +20,7 @@ gotestflags=( ["./postgres"]="${gotestflagsbase[@]} -coverpkg=./..." ["./mysql"]="${gotestflagsbase[@]} -coverpkg=./..." ["./middleware/echo"]="${gotestflagsbase[@]}" + ["./middleware/gin"]="${gotestflagsbase[@]}" ["./middleware/nethttp"]="${gotestflagsbase[@]}" )