Skip to content

Commit 385d668

Browse files
authored
chore: release of 0.2.3
Merge pull request #7 from Logic-py/develop
2 parents 4999251 + 04e2d11 commit 385d668

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/initialize.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
- name: Set Repository Name and Description
1717
run: |
1818
REPO_NAME=$(echo "${{ github.repository }}" | cut -d'/' -f2)
19-
REPO_DESC="${{ github.event.repository.description }}" # Get the description
20-
VERSION="0.0.1" # Set a default version
19+
REPO_DESC="${{ github.event.repository.description }}"
20+
VERSION="0.0.1"
2121
2222
# Update the pyproject.toml with the repository name and description
2323
sed -i "s/^name = .*/name = \"$REPO_NAME\"/" pyproject.toml
@@ -29,7 +29,13 @@ jobs:
2929
git config --local user.email "action@github.com"
3030
git config --local user.name "GitHub Action"
3131
git add pyproject.toml
32-
git commit -m "Initialize repository with correct pyproject.toml"
33-
git push
32+
git commit -m "chore: initialize repository"
33+
34+
# Push to main
35+
git push origin main
36+
37+
# Create develop branch if it doesn't exist and push
38+
git checkout -B develop
39+
git push origin develop --force
3440
env:
3541
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.poetry]
22
name = "python-template"
3-
version = "0.0.1"
4-
description = "Used to templatize python projects."
3+
version = "0.2.3"
4+
description = "A template for python projects"
55
authors = ["Loïc Motheu <lmotheu@gmail.com>"]
66
readme = "README.md"
77
package-mode = false

0 commit comments

Comments
 (0)