Skip to content

ci: test sh file change ref #3

ci: test sh file change ref

ci: test sh file change ref #3

Workflow file for this run

name: Release Next Version
on:
push:
branches: [ "*" ]
env:
NEW_VERSION: 0.1.1
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ci_test
fetch-depth: 0
- name: Modify for next release
run: |
chmod +x release.sh
./release.sh ${{ env.NEW_VERSION }}
git diff
git config user.name '${{ vars.USER_NAME }}'
git config user.email '${{ vars.USER_EMAIL }}'
git add .
git commit -m 'release: clickstream Web ${{ env.NEW_VERSION }}'
git push
git tag v${{ env.NEW_VERSION }}
git push origin v${{ env.NEW_VERSION }}
- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
name: "Clickstream Flutter ${{ env.NEW_VERSION }}"
tag_name: "v${{ env.NEW_VERSION }}"
prerelease: true
generate_release_notes: true