Fix commit message

This commit is contained in:
Nemo
2022-05-24 15:28:46 +05:30
parent 6a08386585
commit f3e9a2c7b2
2 changed files with 1 additions and 2 deletions

View File

@@ -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

View File

@@ -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