From 619fc177cfcce7033d7dded23a418e1dc7d04163 Mon Sep 17 00:00:00 2001 From: Yelaman Yelmuratov Date: Fri, 10 May 2024 20:32:50 +0500 Subject: [PATCH] . e bump version to 0.4.6 --- CHANGELOG.md | 2 +- README.md | 2 +- bash/push_release.sh | 6 +++--- pubspec.yaml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bea1eb0..d247b59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.4.5 +## 0.4.6 - Test script for create release tag for autopublish diff --git a/README.md b/README.md index bcb7fc7..b9887a1 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Add the following to your `pubspec.yaml` file: ```yaml dependencies: - approval_tests: ^0.4.5 + approval_tests: ^0.4.6 ``` ## 📚 How to use diff --git a/bash/push_release.sh b/bash/push_release.sh index f07e247..c3a3b09 100755 --- a/bash/push_release.sh +++ b/bash/push_release.sh @@ -23,8 +23,8 @@ else echo "Version $VERSION is ready to be tagged and pushed." # Configure git user - git config --local user.email "you@example.com" - git config --local user.name "Your Name" + git config --local user.email "e99xxx@gmail.com" + git config --local user.name "Yelaman" # Fetch tags from the remote to update local reference git fetch --tags @@ -37,6 +37,6 @@ else # Create a tag in Git with the new version echo "Publishing..." git tag -a "v$VERSION" -m "Release version $VERSION" - git push origin "v$VERSION" + git push origin v$VERSION fi fi diff --git a/pubspec.yaml b/pubspec.yaml index 9f3c518..b0ffa5d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ # * 0.0.4 for a minor release. name: approval_tests description: Approval Tests implementation in Dart. Inspired by ApprovalTests. -version: 0.4.5 +version: 0.4.6 repository: https://github.com/approvals/ApprovalTests.Dart homepage: https://github.com/approvals/ApprovalTests.Dart.git issue_tracker: https://github.com/approvals/ApprovalTests.Dart/issues