Skip to content

Commit

Permalink
fix: added dependency for properties reader
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdebs committed Nov 22, 2022
1 parent 753c72a commit 3ece85b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/draft_new_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ jobs:
git merge "origin/$main_branch"
current_version=$(cat gradle.properties | grep "VERSION_NAME" | cut -d'=' -f2)
npm i -g properties-reader
npm ci
npx standard-version --skip.commit --skip.tag --skip.changelog
new_version=$(cat gradle.properties | grep "VERSION_NAME" | cut -d'=' -f2)
git reset --hard
echo "Branch type is is $branch-type"
branch_name="${release_type}${branch-type}/${new_version}"
echo "Source branch for new release is $source_branch_name"
Expand All @@ -64,7 +65,7 @@ jobs:
- name: Update changelog & bump version
id: finish-release
run: |
npm i -g properties-reader
npm ci
npx standard-version
git add . && git commit --amend --no-edit
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ local.properties
**/.project
**/.settings
**/.classpath
**/bin/
**/bin/
node_modules/*
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{"dependencies":{"properties-reader":"^2.2.0"}}

0 comments on commit 3ece85b

Please sign in to comment.