Skip to content

Commit

Permalink
Improving tag and git attributes for less sized built
Browse files Browse the repository at this point in the history
  • Loading branch information
hmanzur committed Feb 7, 2021
1 parent 46260df commit 7676ca1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
src export-ignore
.github export-ignore
package* export-ignore
./index.js export-ignore
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ jobs:
rm .gitignore
rm -Rf node_modules/
rm -Rf .github
rm index.js
- name: Git Create Branch release/${{ github.event.inputs.version }}
run: |
git add .
git commit -m "Auto commit from Github Actions #${{ github.run_id }}"
git push origin release/${{ github.event.inputs.version }} -f
git tag v${{ github.event.inputs.version }} release/${{ github.event.inputs.version }}
# git tag v${{ github.event.inputs.version }} release/${{ github.event.inputs.version }}

deploy:
name: Deploy Bundle
Expand All @@ -78,6 +79,7 @@ jobs:
with:
tag_name: v/${{ github.event.inputs.version }}
release_name: v${{ github.event.inputs.version }}
commitish: release/${{ github.event.inputs.version }}
body: |
Created on ${{ env.TIME }} using automated Workflow by ${{ github.actor }}
draft: false
Expand Down

0 comments on commit 7676ca1

Please sign in to comment.