Skip to content

Commit

Permalink
fix(config; maintenance_scripts/tag_release.sh): quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed May 4, 2023
1 parent 926ab48 commit 8a2a222
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion maintenance_scripts/tag_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ echo

sed -i -e "s/pkgver=.*/pkgver=${new_version}/g" PKGBUILD
sed -i -e "s/pkgrel=.*/pkgrel=1/g" PKGBUILD
sed -i -e "s/VERSION.*=.*/VERSION: Final = \"${new_version}-dev\"/g" pikaur/config.py
sed -i -e "s/VERSION: .*=.*/VERSION: \"Final\" = \"${new_version}-dev\"/g" pikaur/config.py
sed -i -e "s/ version='.*',/ version='${new_version}',/g" setup.py

echo
Expand Down
4 changes: 2 additions & 2 deletions pikaur/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ConfigValueType(TypedDict):
INT: "Final" = "int"
STR: "Final" = "str"
RUNNING_AS_ROOT: "Final" = os.geteuid() == 0 # @TODO: could global var be avoided here?
VERSION: Final = "1.15-dev"
VERSION: "Final" = "1.15-dev"

_USER_TEMP_ROOT: "Final" = Path(gettempdir())
_USER_CACHE_ROOT: "Final" = Path(os.environ.get(
Expand Down Expand Up @@ -91,7 +91,7 @@ def get_config_path() -> Path:


class UpgradeSortingValues:
VERSION: Final = "1.15-dev"
VERSIONDIFF: "Final" = "versiondiff"
PKGNAME: "Final" = "pkgname"
REPO: "Final" = "repo"

Expand Down

0 comments on commit 8a2a222

Please sign in to comment.