wu-sheng commented on code in PR #109:
URL: 
https://github.com/apache/skywalking-nginx-lua/pull/109#discussion_r1720968149


##########
RELEASING.md:
##########
@@ -0,0 +1,80 @@
+# Apache SkyWalking Nginx LUA agent release guide
+
+SkyWalking Nginx LUA agent released through source tar on the 
[website](https://skywalking.apache.org/downloads/#NginxLUAAgent) 
+and [SkyWalking's LuaRock 
Module](https://luarocks.org/modules/apache-skywalking/skywalking-nginx-lua).
+
+Release manager could follow this doc to build and upload a release for this 
agent.
+
+1. Prepare the new `.rockspec` file for the new release. Ref previous and 
latest files in [here](./rockspec/).
+2. Update the [changelogs](CHANGES.md) for the upcoming release.
+3. Tag through git or GitHub.
+4. Build the source tars with ASC sign and SHA512
+
+```shell
+> export RELEASE_VERSION=x.y.z
+
+> tar czf skywalking-nginx-lua-${RELEASE_VERSION}-src.tgz \
+    --exclude .git \
+    --exclude .DS_Store \
+    --exclude .github \
+    --exclude .gitignore \
+    --exclude .gitmodules \
+    --exclude .mvn/wrapper/maven-wrapper.jar \
+    skywalking-nginx-lua
+
+> gpg --armor --detach-sig skywalking-nginx-lua-${RELEASE_VERSION}-src.tgz
+
+> shasum -a 512 skywalking-nginx-lua-${RELEASE_VERSION}-src.tgz > 
skywalking-nginx-lua-${RELEASE_VERSION}-src.tgz.sha512
+
+```
+
+5. Upload `*-src.tgz`, `*-src.tgz.asc` and `*-src.tgz.sha512` to SVN 
`https://dist.apache.org/repos/dist/release/skywalking/nginx-lua/${RELEASE_VERSION}`
+
+6. Call for vote through `d...@skywalking.apache.org` mailing list.
+
+```
+Hi all,
+
+This is a call for vote to release Apache SkyWalking Nginx LUA version 
${RELEASE_VERSION}.
+
+Release notes:
+
+ * 
https://github.com/apache/skywalking-nginx-lua/blob/v${RELEASE_VERSION}/CHANGES.md
+
+Release Candidate:
+
+ * 
https://dist.apache.org/repos/dist/dev/skywalking/nginx-lua/${RELEASE_VERSION}/
+ * sha512 checksums
+   - xxx  skywalking-nginx-lua-${RELEASE_VERSION}-src.tgz
+
+Release Tag :
+
+ * v${RELEASE_VERSION}
+
+Release CommitID :
+
+ * 
https://dist.apache.org/repos/dist/dev/skywalking/nginx-lua/${RELEASE_VERSION}/

Review Comment:
   ```suggestion
    * https://dist.apache.org/repos/dist/dev/skywalking/nginx-lua/${COMMIT_ID}
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to