Skip to content

Version bump for 1.2.0 release. (#73) #23

Version bump for 1.2.0 release. (#73)

Version bump for 1.2.0 release. (#73) #23

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Deno Continuous Deployment
on:
push:
paths:
- 'src/version.ts'
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v2
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Extract Tag Name from version.ts
id: save_version
run: |
echo "TAG_NAME=$(deno run -q --allow-read src/version.ts)" >> $GITHUB_ENV
echo "We will now create the ${{ env.TAG_NAME }} tag."
- name: Create and push git tag
uses: rickstaa/action-create-tag@v1
with:
tag: "${{ env.TAG_NAME }}"
- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
tag: "${{ env.TAG_NAME }}"
name: "${{ env.TAG_NAME }}"
generateReleaseNotes: true
prerelease: true