少年修仙传客户端基础资源
client_Wu Xijin
2018-08-28 2dee391eec254930f1f0f28689a54322a45de629
3016 添加客户端内容提交钩子文件
3个文件已添加
29 ■■■■■ 已修改文件
Assets/Hooks.meta 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Hooks/commit-msg 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Hooks/commit-msg.meta 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Hooks.meta
New file
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: a14b3ab197b29d340a72c330e55e45ca
folderAsset: yes
timeCreated: 1535439805
licenseType: Pro
DefaultImporter:
  userData:
  assetBundleName:
  assetBundleVariant:
Assets/Hooks/commit-msg
New file
@@ -0,0 +1,12 @@
#!/bin/sh
# -*- coding: UTF-8 -*-
if [ "$(grep -in '^[0-9]*[1-9][0-9]* .*' "$1")" == "" ] && [ "$(grep -in '^Merge .*' "$1")" == "" ] && [ "$(grep -in '^Revert .*' "$1")" == "" ]; then
    echo 以下3种是正确的备注信息是:
    echo 1. 12345 正常提交备注信息必须以数字单号开头。#数字单号后面带空格#
    echo 2. Merge 以Merge开头说明这是一次git合并操作,这是被允许的。#Merge后面带空格#
    echo 3. Revert 以Revert开头说明这是一次git还原操作,这是被允许的。#Revert后面带空格#
    exit 1
fi
Assets/Hooks/commit-msg.meta
New file
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b87aef1931a05ca49890a8fc42649dfb
timeCreated: 1535439812
licenseType: Pro
DefaultImporter:
  userData:
  assetBundleName:
  assetBundleVariant: