Skip to content

Commit

Permalink
Merge pull request #7 from anantakumarghosh/ME-enhancement-2
Browse files Browse the repository at this point in the history
build: 🎨 fixx (#2)
  • Loading branch information
anantakumarghosh authored Feb 1, 2024
2 parents 03f6ce0 + 7038ab8 commit 0de1c9a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,18 @@ jobs:
with:
node-version: 16

- name: Set release type
id: release-type
run: |
if [ "${{ github.event.inputs.version_type }}" -eq "" ]; then
version_type=$(echo "-p build")
echo "version_type=$version_type" >> "$GITHUB_ENV"
else
version_type=$(echo "${{ github.event.inputs.version_type }}")
echo "version_type=$version_type" >> "$GITHUB_ENV"
fi
- name: Change version
run: npm run release -- ${{ github.event.inputs.repo_names }}
run: npm run release -- ${{ env.version_type }}

- name: Push Tags
run: git push --follow-tags origin development
Expand Down

0 comments on commit 0de1c9a

Please sign in to comment.