From f3e9a2c7b202ed4461800e74f7ca65c6a2eaf5a1 Mon Sep 17 00:00:00 2001 From: Nemo Date: Tue, 24 May 2022 15:28:46 +0530 Subject: [PATCH] Fix commit message --- .github/workflows/update.yml | 1 - update.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 5f4b4ba7..d0501514 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -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 diff --git a/update.rb b/update.rb index a9a86312..b2b4c88e 100644 --- a/update.rb +++ b/update.rb @@ -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