Skip to content

Commit

Permalink
6
Browse files Browse the repository at this point in the history
  • Loading branch information
Soltus committed Apr 18, 2024
1 parent 6be5860 commit cf2427c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
jobs:
create_release:
name: Create Release
if: github.ref == 'refs/tags/v${{ github.event.release.tag_name }}'
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -26,6 +25,18 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Check if latest tag
id: check_tag
run: |
echo "${{ github.ref }}"
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
if [[ "${{ github.ref }}" == "refs/tags/${latest_tag}" ]]; then
echo "This tag is the latest."
else
echo "This tag is not the latest."
exit 1
fi

- name: Setup Python
uses: actions/setup-python@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sillot",
"version": "0.29.200",
"version": "0.29.300",
"syv": "3.0.10",
"sypv": "[3.0.9]",
"description": "Build Your Eternal Digital Garden",
Expand Down

0 comments on commit cf2427c

Please sign in to comment.