Skip to content

Commit

Permalink
Added Auto Release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MewX committed Aug 28, 2020
1 parent 6a62ab3 commit 7994233
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Release

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Automatic Release by GitHub Workflow
draft: false
prerelease: false
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Changelog

# v0.1
Initial dummy version.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Doubak

[![GitHub Action CI](https://github.com/its-my-data/doubak/workflows/CI/badge.svg?branch=master)](https://github.com/its-my-data/doubak/actions?query=workflow%3ACI)
[![GitHub Action CI](https://github.com/its-my-data/doubak/workflows/Release/badge.svg?branch=master)](https://github.com/its-my-data/doubak/actions?query=workflow%3ARelease)

豆瓣 (Douban.com) 备份工具命令行版,备份完整页面镜像,Golang实现。

Expand Down

0 comments on commit 7994233

Please sign in to comment.