Skip to content

Commit a6f7f82

Browse files
committed
using tags instead of hash for git repo
1 parent 26b9ee7 commit a6f7f82

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
direnv 2.34.0
22
pipenv 2024.0.1
3-
python 3.10.13
3+
python 3.11.11

Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
HOSTNAME=github.com
2+
NAMESPACE=relaypro-open
3+
NAME=dog_api_python
4+
BINARY=${NAME}
5+
VERSION=1.0.4
6+
OS_ARCH=linux_amd64
7+
8+
github_release:
9+
sed -i 's/^version = \".*\"/version = \"${VERSION}\"/g' pyproject.toml
10+
git add -f pyproject.toml
11+
git commit -m "release tag: ${VERSION}"
12+
git tag ${VERSION}
13+
git push --tags --force
14+
15+
delete_release:
16+
git tag -d ${VERSION}
17+
git push --delete origin ${VERSION}

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "pypi"
55

66
[packages]
77
certifi = ">=2023.7.22"
8-
api-client = {git = "https://github.com/Phonebooth/api-client"}
8+
api-client = {ref = "v1.2.0", git = "https://github.com/Phonebooth/api-client"}
99

1010
[dev-packages]
1111
certifi = ">=2023.7.22"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-e git+https://github.com/Phonebooth/api-client.git@bedde4137ea6c94158eab41888a7ce608a2c952a#egg=api_client
1+
-e git+https://github.com/Phonebooth/api-client.git@v1.2.0#egg=api_client
22
certifi==2023.7.22
33
charset-normalizer==2.0.12
44
idna==3.3

0 commit comments

Comments
 (0)