diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 16a08ef..ed14e63 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: uses: goreleaser/goreleaser-action@v3.1.0 with: version: latest - args: release --rm-dist + args: release --clean env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index c23df4c..f0aa8a0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,50 +1,4 @@ -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -# User-specific stuff -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/**/usage.statistics.xml -.idea/**/dictionaries -.idea/**/shelf - -# AWS User-specific -.idea/**/aws.xml - -# Generated files -.idea/**/contentModel.xml - -# Sensitive or high-churn files -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml -.idea/**/dbnavigator.xml - -# Gradle -.idea/**/gradle.xml -.idea/**/libraries - -# Gradle and Maven with auto-import -# When using Gradle or Maven with auto-import, you should exclude module files, -# since they will be recreated, and may cause churn. Uncomment if using -# auto-import. -# .idea/artifacts -# .idea/compiler.xml -# .idea/jarRepositories.xml -# .idea/modules.xml -# .idea/*.iml -# .idea/modules -# *.iml -# *.ipr - -# CMake -cmake-build-*/ - -# Mongo Explorer plugin -.idea/**/mongoSettings.xml +/.idea # File-based project format *.iws @@ -82,4 +36,4 @@ fabric.properties /bin/ /dist/ /.env -/token.json \ No newline at end of file +/token.json diff --git a/.goreleaser.yml b/.goreleaser.yml index f51b9e6..374c1f6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,14 +1,10 @@ -# Visit https://goreleaser.com for documentation on how to customize this -# behavior. +version: 2 + before: hooks: - # this is just an example and not a requirement for provider building/publishing - go mod tidy builds: - env: - # goreleaser does not work with CGO, it could also complicate - # usage by users in CI/CD systems like Terraform Cloud where - # they are unable to install libraries. - CGO_ENABLED=0 mod_timestamp: '{{ .CommitTimestamp }}' flags: @@ -41,11 +37,9 @@ checksum: signs: - artifacts: checksum args: - # if you are using this in a GitHub action or some other automated pipeline, you - # need to pass the batch flag to indicate its not interactive. - "--batch" - "--local-user" - - "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key + - "{{ .Env.GPG_FINGERPRINT }}" - "--output" - "${signature}" - "--detach-sign" @@ -54,7 +48,5 @@ release: extra_files: - glob: 'terraform-registry-manifest.json' name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json' - # If you want to manually examine the release before its live, uncomment this line: - # draft: true changelog: - skip: true \ No newline at end of file + disable: true diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 03d9549..0000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/jsonSchemas.xml b/.idea/jsonSchemas.xml deleted file mode 100644 index b2646b6..0000000 --- a/.idea/jsonSchemas.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 565b064..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/remove_mocks_sh.xml b/.idea/runConfigurations/remove_mocks_sh.xml deleted file mode 100644 index 7d3cd72..0000000 --- a/.idea/runConfigurations/remove_mocks_sh.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/reset_sh.xml b/.idea/runConfigurations/reset_sh.xml deleted file mode 100644 index 37a58d8..0000000 --- a/.idea/runConfigurations/reset_sh.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_acceptance_tests.xml b/.idea/runConfigurations/run_acceptance_tests.xml deleted file mode 100644 index 1e034c9..0000000 --- a/.idea/runConfigurations/run_acceptance_tests.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_provider.xml b/.idea/runConfigurations/run_provider.xml deleted file mode 100644 index 8aa7f76..0000000 --- a/.idea/runConfigurations/run_provider.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_adyen_gateway_go.xml b/.idea/runConfigurations/run_resource_adyen_gateway_go.xml deleted file mode 100644 index c0d3df1..0000000 --- a/.idea/runConfigurations/run_resource_adyen_gateway_go.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_bing_geocoder_test_go.xml b/.idea/runConfigurations/run_resource_bing_geocoder_test_go.xml deleted file mode 100644 index 6be6c4d..0000000 --- a/.idea/runConfigurations/run_resource_bing_geocoder_test_go.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_braintree_gateway_go.xml b/.idea/runConfigurations/run_resource_braintree_gateway_go.xml deleted file mode 100644 index 7124170..0000000 --- a/.idea/runConfigurations/run_resource_braintree_gateway_go.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_checkout_com_gateway_go.xml b/.idea/runConfigurations/run_resource_checkout_com_gateway_go.xml deleted file mode 100644 index ff57b03..0000000 --- a/.idea/runConfigurations/run_resource_checkout_com_gateway_go.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_delivery_lead_time_go.xml b/.idea/runConfigurations/run_resource_delivery_lead_time_go.xml deleted file mode 100644 index 9702b4b..0000000 --- a/.idea/runConfigurations/run_resource_delivery_lead_time_go.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_google_geocoder_test_go.xml b/.idea/runConfigurations/run_resource_google_geocoder_test_go.xml deleted file mode 100644 index 11b7e47..0000000 --- a/.idea/runConfigurations/run_resource_google_geocoder_test_go.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_inventory_return_location_test_go.xml b/.idea/runConfigurations/run_resource_inventory_return_location_test_go.xml deleted file mode 100644 index f7972c6..0000000 --- a/.idea/runConfigurations/run_resource_inventory_return_location_test_go.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_inventory_stock_location_test_go.xml b/.idea/runConfigurations/run_resource_inventory_stock_location_test_go.xml deleted file mode 100644 index f1dd48f..0000000 --- a/.idea/runConfigurations/run_resource_inventory_stock_location_test_go.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_klarna_gateway_go.xml b/.idea/runConfigurations/run_resource_klarna_gateway_go.xml deleted file mode 100644 index f975e43..0000000 --- a/.idea/runConfigurations/run_resource_klarna_gateway_go.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_manual_gateway_go.xml b/.idea/runConfigurations/run_resource_manual_gateway_go.xml deleted file mode 100644 index d44a347..0000000 --- a/.idea/runConfigurations/run_resource_manual_gateway_go.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_manual_tax_calculator_go.xml b/.idea/runConfigurations/run_resource_manual_tax_calculator_go.xml deleted file mode 100644 index 4dbd64b..0000000 --- a/.idea/runConfigurations/run_resource_manual_tax_calculator_go.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_market_test_go.xml b/.idea/runConfigurations/run_resource_market_test_go.xml deleted file mode 100644 index e62db23..0000000 --- a/.idea/runConfigurations/run_resource_market_test_go.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_payment_method_test_go.xml b/.idea/runConfigurations/run_resource_payment_method_test_go.xml deleted file mode 100644 index 4b87547..0000000 --- a/.idea/runConfigurations/run_resource_payment_method_test_go.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_paypal_gateway_go.xml b/.idea/runConfigurations/run_resource_paypal_gateway_go.xml deleted file mode 100644 index fa292bb..0000000 --- a/.idea/runConfigurations/run_resource_paypal_gateway_go.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_shipping_category_test_go.xml b/.idea/runConfigurations/run_resource_shipping_category_test_go.xml deleted file mode 100644 index ba02e7c..0000000 --- a/.idea/runConfigurations/run_resource_shipping_category_test_go.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_shipping_method_test_go.xml b/.idea/runConfigurations/run_resource_shipping_method_test_go.xml deleted file mode 100644 index b10f6bd..0000000 --- a/.idea/runConfigurations/run_resource_shipping_method_test_go.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_stock_location_test_go.xml b/.idea/runConfigurations/run_resource_stock_location_test_go.xml deleted file mode 100644 index 1b2e1df..0000000 --- a/.idea/runConfigurations/run_resource_stock_location_test_go.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_stripe_gateway_go.xml b/.idea/runConfigurations/run_resource_stripe_gateway_go.xml deleted file mode 100644 index b08fb04..0000000 --- a/.idea/runConfigurations/run_resource_stripe_gateway_go.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_resource_taxjar_account_go.xml b/.idea/runConfigurations/run_resource_taxjar_account_go.xml deleted file mode 100644 index 584660a..0000000 --- a/.idea/runConfigurations/run_resource_taxjar_account_go.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/run_unit_tests.xml b/.idea/runConfigurations/run_unit_tests.xml deleted file mode 100644 index a69df61..0000000 --- a/.idea/runConfigurations/run_unit_tests.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/start_recording_sh.xml b/.idea/runConfigurations/start_recording_sh.xml deleted file mode 100644 index 3bf3f1d..0000000 --- a/.idea/runConfigurations/start_recording_sh.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/stop_recording_sh.xml b/.idea/runConfigurations/stop_recording_sh.xml deleted file mode 100644 index 067c94e..0000000 --- a/.idea/runConfigurations/stop_recording_sh.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/terraform-provider-commercelayer.iml b/.idea/terraform-provider-commercelayer.iml deleted file mode 100644 index 133ac09..0000000 --- a/.idea/terraform-provider-commercelayer.iml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file