Skip to content

Commit

Permalink
. e updated action: auto deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jul 2, 2024
1 parent d5f7490 commit 2df14b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:

- name: ⬆️ Auto-Deploy to pub.dev
run: |
./packages/approval_tests/bash/push_release.sh
./bash/push_release.sh
shell: bash
2 changes: 1 addition & 1 deletion packages/approval_tests/bash/push_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PACKAGE_NAME="approval_tests"
VERSION=""

# Retrieve the current version from the pubspec.yaml file
VERSION=$(grep 'version:' packages/approval_tests/pubspec.yaml | awk '{print $2}' | tr -d "'\"")
VERSION=$(grep 'version:' pubspec.yaml | awk '{print $2}' | tr -d "'\"")

# Fetch the HTML content from pub.dev
HTML_CONTENT=$(curl -s "https://pub.dev/packages/$PACKAGE_NAME")
Expand Down

0 comments on commit 2df14b3

Please sign in to comment.