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