Skip to content

Commit

Permalink
Version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rilwis committed Jan 9, 2025
1 parent baa51c1 commit d638099
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v2
- name: Create zip
run: |
name=$(basename -s .git $(git config --get remote.origin.url))
name=${{ github.event.repository.name }}
git archive -o $name.zip --prefix=$name/ HEAD
- name: Release
uses: softprops/action-gh-release@v2
Expand All @@ -27,4 +27,5 @@ jobs:
- name: Notify Slack
run: |
tag=$(git describe --tags `git rev-list --tags --max-count=1`)
name=${{ github.event.repository.name }}
curl -X POST --data-urlencode "payload={\"channel\": \"#meta-box\", \"username\": \"Bot\", \"text\": \"New version $tag for $name has been just released!\", \"icon_emoji\": \":tada:\"}" ${{ secrets.SLACK_WEBHOOK }}

0 comments on commit d638099

Please sign in to comment.