From 3a4e676cb5e38061c5603b01d7ef14e92c5ac781 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= <sumneko@hotmail.com>
Date: Wed, 5 Aug 2020 15:51:23 +0800
Subject: [PATCH] =?UTF-8?q?=E8=BF=98=E5=BE=97=E5=85=88=E6=8F=90=E4=BA=A4?=
 =?UTF-8?q?=E4=B8=80=E4=B8=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 publish.lua | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/publish.lua b/publish.lua
index 3ad20eb..a83460e 100644
--- a/publish.lua
+++ b/publish.lua
@@ -209,6 +209,14 @@ end
 p:wait()
 print(p.stderr:read 'a')
 
+subprocess.shell {
+    'git', 'add', '*',
+}
+
+subprocess.shell {
+    'git', 'commit', '-m', tostring(version),
+}
+
 subprocess.shell {
     'git', 'tag', 'v' .. tostring(version),
 }
-- 
GitLab