diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 332b2be..c317926 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,14 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 # Required for GitVersion to work correctly + + - name: Setup SSH for Deploy Key + if: github.ref == 'refs/heads/main' # Only update for stable releases + run: | + mkdir -p ~/.ssh + echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_rsa + chmod 600 ~/.ssh/id_rsa + ssh-keyscan github.com >> ~/.ssh/known_hosts - name: Install GitVersion uses: GitTools/actions/gitversion/setup@v0 @@ -79,7 +87,6 @@ jobs: with: commit_message: "Update CHANGELOG for release ${{ steps.gitversion.outputs.semVer }}" file_pattern: "CHANGELOG.md" - push_options: ${{ github.ref == 'refs/heads/main' && '--force' || '' }} - uses: actions/setup-python@v5 @@ -107,7 +114,6 @@ jobs: with: commit_message: "Update pyproject.toml for release ${{ steps.gitversion.outputs.semVer }}" file_pattern: "pyproject.toml" - push_options: ${{ github.ref == 'refs/heads/main' && '--force' || '' }} - name: Build release distributions run: | diff --git a/pyproject.toml b/pyproject.toml index be41d04..d203459 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "xurrent" -version = "0.4.0-preview.198" +version = "0.4.0-preview.203" authors = [ { name="Fabian Steiner", email="fabian@stei-ner.net" }, ] @@ -18,7 +18,7 @@ Homepage = "https://github.com/fasteiner/xurrent-python" Issues = "https://github.com/fasteiner/xurrent-python/issues" [tool.poetry] name = "xurrent" -version = "0.4.0-preview.198" +version = "0.4.0-preview.203" description = "A python module to interact with the Xurrent API." authors = ["Ing. Fabian Franz Steiner BSc. "] readme = "README.md"