diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 30ca745d9b..e5364543ad 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -9,6 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + fetch-depth: "0" - name: Set up Python uses: actions/setup-python@v1 with: diff --git a/Makefile b/Makefile index d5cb22a476..f7023c0827 100644 --- a/Makefile +++ b/Makefile @@ -67,4 +67,4 @@ update_version: # ensure the placeholder is there. If grep doesn't find the placeholder # it exits with exit code 1 and github actions aborts the build. grep "$(PLACEHOLDER)" "$(VERSION_FILE)" - sed -i "" "s/$(PLACEHOLDER)/__version__ = \"${VERSION}\"/g" $(VERSION_FILE) + sed -i "s/$(PLACEHOLDER)/__version__ = \"${VERSION}\"/g" $(VERSION_FILE) diff --git a/plugins/Makefile b/plugins/Makefile index e8166b7b78..6e5027fff8 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -22,4 +22,4 @@ update_all_versions: # ensure the placeholder is there. If grep doesn't find the placeholder # it exits with exit code 1 and github actions aborts the build. ./run_all_plugins.sh grep "$(PLACEHOLDER)" "$(VERSION_FILE)" - ./run_all_plugins.sh sed -i "" "s/$(PLACEHOLDER)/__version__ = \"${VERSION}\"/g" $(VERSION_FILE) + ./run_all_plugins.sh sed -i "s/$(PLACEHOLDER)/__version__ = \"${VERSION}\"/g" $(VERSION_FILE)