apdev 0.1.3__tar.gz → 0.1.5__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.4
2
2
  Name: apdev
3
- Version: 0.1.3
3
+ Version: 0.1.5
4
4
  Summary: Shared development tools for Python projects - character validation, circular import detection, and more
5
5
  Author-email: aipartnerup <tercel.yi@gmail.com>
6
6
  License: Apache-2.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "apdev"
7
- version = "0.1.3"
7
+ version = "0.1.5"
8
8
  description = "Shared development tools for Python projects - character validation, circular import detection, and more"
9
9
  readme = "README.md"
10
10
  license = {text = "Apache-2.0"}
@@ -1,3 +1,3 @@
1
1
  """apdev - Shared development tools for Python projects."""
2
2
 
3
- __version__ = "0.1.3"
3
+ __version__ = "0.1.5"
@@ -56,7 +56,8 @@ else
56
56
  VERSION="$1"
57
57
  fi
58
58
 
59
- TAG="v${VERSION}"
59
+ TAG="python/v${VERSION}"
60
+ TAG_URL_ENCODED="${TAG//\//%2F}"
60
61
 
61
62
  echo -e "${CYAN}╔══════════════════════════════════════════════════════════╗${NC}"
62
63
  echo -e "${CYAN}║ ${PROJECT_NAME} Release Script v${VERSION}${NC}"
@@ -171,10 +172,10 @@ step1_version_verification() {
171
172
  echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
172
173
 
173
174
  PYPROJECT_VERSION=$(grep -E '^version = ' pyproject.toml | sed 's/version = "\(.*\)"/\1/')
174
- INIT_VERSION=$(grep -E '^__version__ = ' src/${PROJECT_NAME}/__init__.py | sed 's/__version__ = "\(.*\)"/\1/')
175
+ INIT_VERSION=$(grep -E '^__version__ = ' src/${PACKAGE_NAME}/__init__.py | sed 's/__version__ = "\(.*\)"/\1/')
175
176
 
176
177
  echo -e " pyproject.toml: ${CYAN}${PYPROJECT_VERSION}${NC}"
177
- echo -e " __init__.py: ${CYAN}${INIT_VERSION}${NC}"
178
+ echo -e " __init__.py: ${CYAN}${INIT_VERSION}${NC}"
178
179
  echo -e " Script version: ${CYAN}${VERSION}${NC}"
179
180
 
180
181
  if [ "$PYPROJECT_VERSION" != "$VERSION" ] || [ "$INIT_VERSION" != "$VERSION" ]; then
@@ -532,7 +533,7 @@ step6_5_create_github_release() {
532
533
  if [ "$USE_API" = true ] && [ -n "$GITHUB_TOKEN" ]; then
533
534
  # Check via API
534
535
  if curl -s -H "Authorization: token ${GITHUB_TOKEN}" \
535
- "https://api.github.com/repos/${GITHUB_REPO}/releases/tags/${TAG}" \
536
+ "https://api.github.com/repos/${GITHUB_REPO}/releases/tags/${TAG_URL_ENCODED}" \
536
537
  | grep -q '"id"'; then
537
538
  echo -e "${GREEN}✅ Release ${TAG} already exists${NC}"
538
539
  if ask_yn "Update existing release?" "n"; then
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apdev
3
- Version: 0.1.3
3
+ Version: 0.1.5
4
4
  Summary: Shared development tools for Python projects - character validation, circular import detection, and more
5
5
  Author-email: aipartnerup <tercel.yi@gmail.com>
6
6
  License: Apache-2.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes