From 399307eeb3a89b2d7b83e785b42b43330d5b22ac Mon Sep 17 00:00:00 2001 From: Sean Callan Date: Thu, 26 Sep 2024 21:05:36 -0400 Subject: [PATCH] feat: Misc updates (#39) --- ...etect-elixir-package.sh => 001.detect-elixir-package.sh} | 0 scripts/002.detect-elixir-formatter-packages.sh | 2 +- ...t-postgres-version.sh => 003.detect-postgres-version.sh} | 0 scripts/004.clean-formatter-files.sh | 6 ------ templates/.github/workflows/release.yaml | 3 +-- 5 files changed, 2 insertions(+), 9 deletions(-) rename scripts/{010.detect-elixir-package.sh => 001.detect-elixir-package.sh} (100%) rename scripts/{005.detect-postgres-version.sh => 003.detect-postgres-version.sh} (100%) delete mode 100755 scripts/004.clean-formatter-files.sh diff --git a/scripts/010.detect-elixir-package.sh b/scripts/001.detect-elixir-package.sh similarity index 100% rename from scripts/010.detect-elixir-package.sh rename to scripts/001.detect-elixir-package.sh diff --git a/scripts/002.detect-elixir-formatter-packages.sh b/scripts/002.detect-elixir-formatter-packages.sh index 7466f93..adb601a 100755 --- a/scripts/002.detect-elixir-formatter-packages.sh +++ b/scripts/002.detect-elixir-formatter-packages.sh @@ -4,7 +4,7 @@ # the Elixir .formatter.exs file. To add a value in `import_deps`, add the package # name to the MIX_PACKAGES array below. -MIX_PACKAGES=("ecto" "ecto_sql" "kafee" "open_api_spex" "patch" "phoenix" "stream_data" "typed_struct") +MIX_PACKAGES=("ecto" "ecto_sql" "open_api_spex" "phoenix" "stream_data" "plug") # We iterate over all of the MIX_PACKAGES and check if they exist in the mix.lock file. # If they do, we add them to the FORMATTER_PACKAGES array. diff --git a/scripts/005.detect-postgres-version.sh b/scripts/003.detect-postgres-version.sh similarity index 100% rename from scripts/005.detect-postgres-version.sh rename to scripts/003.detect-postgres-version.sh diff --git a/scripts/004.clean-formatter-files.sh b/scripts/004.clean-formatter-files.sh deleted file mode 100755 index 4fac547..0000000 --- a/scripts/004.clean-formatter-files.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -if [ -f "priv/repo/migrations/.formatter.exs" ]; then - echo "removing repo migration formatter.exs file" - rm -f priv/repo/migrations/.formatter.exs -fi diff --git a/templates/.github/workflows/release.yaml b/templates/.github/workflows/release.yaml index a406169..8005de8 100644 --- a/templates/.github/workflows/release.yaml +++ b/templates/.github/workflows/release.yaml @@ -14,9 +14,8 @@ jobs: steps: - id: release name: Release - uses: google-github-actions/release-please-action@v4 + uses: googleapis/release-please-action@v4 with: - command: manifest config-file: .github/release-please-config.json manifest-file: .github/release-please-manifest.json release-type: elixir