autopub 1.0.0a10__tar.gz → 1.0.0a12__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: autopub
3
- Version: 1.0.0a10
3
+ Version: 1.0.0a12
4
4
  Summary: Automatic package release upon pull request merge
5
5
  Home-page: https://github.com/autopub/autopub
6
6
  License: AGPL-3.0
@@ -102,7 +102,7 @@ class Autopub:
102
102
  self._write_artifact(self.release_data)
103
103
 
104
104
  def _delete_release_file(self) -> None:
105
- self.release_file.unlink()
105
+ self.release_file.unlink(missing_ok=True)
106
106
 
107
107
  def publish(self, repository: str | None = None) -> None:
108
108
  release_info = self.release_data
@@ -12,7 +12,7 @@ class GitPlugin(AutopubPlugin):
12
12
  self.run_command(["git", "tag", release_info.additional_info["new_version"]])
13
13
 
14
14
  # TODO: config?
15
- self.run_command(["git", "remove", "RELEASE.md"])
15
+ self.run_command(["git", "rm", "RELEASE.md"])
16
16
  self.run_command(["git", "add", "--all", "--", ":!main/.autopub"])
17
17
  self.run_command(["git", "commit", "-m", "🤖 autopub publish"])
18
18
  self.run_command(["git", "push", "--tags"])
@@ -3,7 +3,7 @@ requires-python = ">=3.8"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "autopub"
6
- version = "1.0.0-alpha.10"
6
+ version = "1.0.0-alpha.12"
7
7
  description = "Automatic package release upon pull request merge"
8
8
  authors = ["Justin Mayer <entroP@gmail.com>", "Patrick Arminio <patrick.arminio@gmail.com>"]
9
9
  license = "AGPL-3.0"
File without changes
File without changes
File without changes
File without changes