Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix ci; bump version #34

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/version_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Determine Expected Version
id: expected_version
run: |
BRANCH_NAME="${GITHUB_REF#refs/heads/}"
if [[ "$BRANCH_NAME" == rc/* ]]; then
EXPECTED_VERSION="${BRANCH_NAME#rc/}"
echo "::set-output name=version::$EXPECTED_VERSION"
echo "version=$EXPECTED_VERSION" >> $GITHUB_ENV
elif [[ "$BRANCH_NAME" == hotfix/* ]]; then
# Fetch tags and increment patch version
git fetch --tags
LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
if [ -z "$LATEST_TAG" ]; then
Expand All @@ -38,7 +38,7 @@ jobs:
PATCH="${VERSION_PARTS[2]}"
PATCH=$((PATCH + 1))
EXPECTED_VERSION="${MAJOR}.${MINOR}.${PATCH}"
echo "::set-output name=version::$EXPECTED_VERSION"
echo "version=$EXPECTED_VERSION" >> $GITHUB_ENV
else
echo "Not an rc/* or hotfix/* branch. Skipping version check."
exit 0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grimoire_css"
version = "1.0.1"
version = "1.1.0"
edition = "2021"
authors = ["Dmitrii Shatokhin <dmtrshatokhin@gmail.com>"]
description = "A magical CSS system engine for all environments"
Expand Down
Loading