From 7c30d9ef6284b667694f99bcaa29596853acd463 Mon Sep 17 00:00:00 2001 From: syaiful-aa Date: Fri, 28 Jun 2024 13:45:26 +0700 Subject: [PATCH] 1.2.5 --- .github/workflows/update-main-version.yml | 4 +++- pubspec.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-main-version.yml b/.github/workflows/update-main-version.yml index 8a4daae..250d046 100644 --- a/.github/workflows/update-main-version.yml +++ b/.github/workflows/update-main-version.yml @@ -28,7 +28,9 @@ jobs: - name: Get version id: get-version run: | - base_sha=${{ github.event.pull_request.base_sha }} + base_sha=${{ github.event.pull_request.base.sha }} + echo $base_sha + git fetch origin $base_sha prev_version=$(git show ${base_sha}:pubspec.yaml | grep 'version:' | cut -d ':' -f2 | sed 's/ //' | cut -d'+' -f1) diff --git a/pubspec.yaml b/pubspec.yaml index eea6345..eb38f0b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: quick_math description: A new Flutter package project. -version: 1.2.4 +version: 1.2.5 homepage: environment: