Skip to content

Commit c4cbb55

Browse files
author
Jordan Mance
committed
0.0.2 test
1 parent 01b6b2f commit c4cbb55

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

.github/workflows/deploy-pypi.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
- name: Prep Release
3636
id: prep
3737
run: |
38-
cd src
3938
# Parse version
4039
VERSION=$(./scripts/get_version.sh)
4140
echo "Setting release version to $VERSION"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#! /bin/sh
22

3+
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
4+
5+
cd ../src
6+
37
rm dist/* || echo "Dist already gone."
48

59
python setup.py sdist bdist_wheel

scripts/get_version.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
4+
5+
cat "$SCRIPTPATH/../src/setup.py"| grep -E "VERSION\s+=\s+" | sed -E "s#.*([0-9]+.[0-9]+.[0-9]+[a-zA-Z]?).*#\1#g"

src/scripts/get_version.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from setuptools import setup, find_packages
33

44
FIGGY_WEBSITE = "https://www.figgy.dev"
5-
VERSION = '0.0.1'
5+
VERSION = '0.0.2'
66
SHORT_DESCRIPTION = "Python library that supports Python development while using the Figgy config management " \
77
f"framework: {FIGGY_WEBSITE}"
88

0 commit comments

Comments
 (0)