Skip to content

Commit

Permalink
Correct permission and branch name (#1845)
Browse files Browse the repository at this point in the history
* Permissions on create_gh_pr script

* Permissions on update_version script

* Branch name fix
  • Loading branch information
Tuseeq1 authored Sep 14, 2024
1 parent 840bb5b commit 05341b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/create_gh_pr
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ git config user.name $_GITHUB_USER
git config user.email $_GITHUB_EMAIL
git remote set-url origin https://$_GITHUB_USER:$(cat token.txt)@github.com/dataform-co/dataform.git

echo "Update version..."
./scripts/update_version

export git_branch_name=npm_veriosn_$(cat version.bzl | grep DF_VERSION | awk '{ print $3 }' | sed "s/\"//g")

echo "Create new branch $git_branch_name..."
git checkout -b $git_branch_name

echo "Update version..."
./scripts/update_version

git add version.bzl
git commit -m "Update the npm package version"

Expand Down
Empty file modified scripts/update_version
100644 → 100755
Empty file.

0 comments on commit 05341b7

Please sign in to comment.