tmscli 0.3.7__tar.gz → 0.3.8__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.
- {tmscli-0.3.7 → tmscli-0.3.8}/PKG-INFO +1 -1
- tmscli-0.3.8/initialise.sh +3 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/pyproject.toml +1 -1
- tmscli-0.3.8/update.sh +34 -0
- tmscli-0.3.7/only_git.sh +0 -18
- tmscli-0.3.7/only_pypi.sh +0 -13
- tmscli-0.3.7/update.sh +0 -29
- {tmscli-0.3.7 → tmscli-0.3.8}/README.md +0 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/src/tmscli/.gitkeep +0 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/src/tmscli/__init__.py +0 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/src/tmscli/about.html +0 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/src/tmscli/changelog.html +0 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/src/tmscli/img/big.jpg +0 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/src/tmscli/img/midgame.jpg +0 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/src/tmscli/img/new_board.jpg +0 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/src/tmscli/img/win.jpg +0 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/src/tmscli/index.html +0 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/src/tmscli/install.html +0 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/src/tmscli/main.py +0 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/src/tmscli/screenshots.html +0 -0
- {tmscli-0.3.7 → tmscli-0.3.8}/src/tmscli/style.css +0 -0
tmscli-0.3.8/update.sh
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
# Exit immediately if any command fails
|
|
4
|
+
set -e
|
|
5
|
+
|
|
6
|
+
read commit
|
|
7
|
+
read pypi
|
|
8
|
+
if [ "$pypi"=="yes" ]; then
|
|
9
|
+
|
|
10
|
+
echo "Building the package with Hatch..."
|
|
11
|
+
hatch build
|
|
12
|
+
|
|
13
|
+
echo "Publishing the package to PyPI..."
|
|
14
|
+
hatch publish
|
|
15
|
+
|
|
16
|
+
fi
|
|
17
|
+
if [ "$commit"=="yes" ]; then
|
|
18
|
+
echo "Pulling latest changes from remote Git repository..."
|
|
19
|
+
git pull || echo "Pull skipped or failed, continuing..."
|
|
20
|
+
|
|
21
|
+
echo "Staging changes..."
|
|
22
|
+
git add .
|
|
23
|
+
|
|
24
|
+
echo "Committing changes..."
|
|
25
|
+
read reason
|
|
26
|
+
git commit -m "$reason"
|
|
27
|
+
|
|
28
|
+
echo "Pushing changes to remote..."
|
|
29
|
+
git push
|
|
30
|
+
fi
|
|
31
|
+
|
|
32
|
+
echo "Updating current installed module"
|
|
33
|
+
pip install --upgrade tmscli
|
|
34
|
+
echo "All steps completed successfully!"
|
tmscli-0.3.7/only_git.sh
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
# Exit immediately if any command fails
|
|
4
|
-
set -e
|
|
5
|
-
|
|
6
|
-
echo "Pulling latest changes from remote Git repository..."
|
|
7
|
-
# Use || true so the script continues even if there is no tracking upstream configured yet
|
|
8
|
-
git pull || echo "Pull skipped or failed, continuing..."
|
|
9
|
-
|
|
10
|
-
echo "Staging changes..."
|
|
11
|
-
git add .
|
|
12
|
-
|
|
13
|
-
echo "Committing changes..."
|
|
14
|
-
read reason
|
|
15
|
-
git commit -m "$reason"
|
|
16
|
-
|
|
17
|
-
echo "Pushing changes to remote..."
|
|
18
|
-
git push
|
tmscli-0.3.7/only_pypi.sh
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
# Exit immediately if any command fails
|
|
4
|
-
set -e
|
|
5
|
-
|
|
6
|
-
echo "Building the package with Hatch..."
|
|
7
|
-
hatch build
|
|
8
|
-
|
|
9
|
-
echo "Publishing the package to PyPI..."
|
|
10
|
-
hatch publish
|
|
11
|
-
|
|
12
|
-
echo "Updating current installed module"
|
|
13
|
-
pip install --upgrade tmscli
|
tmscli-0.3.7/update.sh
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
# Exit immediately if any command fails
|
|
4
|
-
set -e
|
|
5
|
-
|
|
6
|
-
echo "Building the package with Hatch..."
|
|
7
|
-
hatch build
|
|
8
|
-
|
|
9
|
-
echo "Publishing the package to PyPI..."
|
|
10
|
-
hatch publish
|
|
11
|
-
|
|
12
|
-
echo "Pulling latest changes from remote Git repository..."
|
|
13
|
-
# Use || true so the script continues even if there is no tracking upstream configured yet
|
|
14
|
-
git pull || echo "Pull skipped or failed, continuing..."
|
|
15
|
-
|
|
16
|
-
echo "Staging changes..."
|
|
17
|
-
git add .
|
|
18
|
-
|
|
19
|
-
echo "Committing changes..."
|
|
20
|
-
read reason
|
|
21
|
-
git commit -m "$reason"
|
|
22
|
-
|
|
23
|
-
echo "Pushing changes to remote..."
|
|
24
|
-
git push
|
|
25
|
-
|
|
26
|
-
echo "Updating current installed module"
|
|
27
|
-
pip install --upgrade tmscli
|
|
28
|
-
|
|
29
|
-
echo "All steps completed successfully!"
|
|
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
|
|
File without changes
|
|
File without changes
|