Fix commit message
This commit is contained in:
1
.github/workflows/update.yml
vendored
1
.github/workflows/update.yml
vendored
@@ -40,7 +40,6 @@ jobs:
|
||||
bundler-cache: true
|
||||
- name: Update Release data
|
||||
run: |
|
||||
mkdir -p ~/.cache/{npm,git,oci} releases/{npm,git,oci,custom} && \
|
||||
git config --global init.defaultBranch main
|
||||
git config --global extensions.partialClone true
|
||||
pip install -r requirements.txt
|
||||
|
||||
@@ -84,7 +84,7 @@ def generate_commit_message
|
||||
r = Rugged::Repository.new '.'
|
||||
r.status() do |f, s|
|
||||
p = Pathname.new(f).dirname
|
||||
if p.to_s === 'releases/git' || p.to_s === 'releases/custom'
|
||||
if p.to_s === 'releases'
|
||||
ret = true
|
||||
product = File.basename(f, '.json')
|
||||
products << product
|
||||
|
||||
Reference in New Issue
Block a user