Skip to content

Commit

Permalink
dump v0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf committed Oct 23, 2020
1 parent 3438755 commit e6d1f31
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 31 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish HPR documents

on:
push:
tags:
- 'v*'

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- 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: v${{ github.ref }}
body: |
Changes in this Release
- First Change
- Second Change
draft: false
prerelease: false
33 changes: 33 additions & 0 deletions .github/workflows/publish_nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish nightly Version

on:
push:
branches:
- master

jobs:
build:
name: Publish Docker Image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Get build date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d %H:%M:%S %z')"
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
env:
VCS_REF: ${{ github.sha }}
VERSION: nightly
BUILD_DATE: ${{ steps.date.outputs.date }}
with:
name: icyleafcn/zealot:nightly
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
buildargs: BUILD_DATE,VCS_REF,VERSION
- name: Docker Hub Description
uses: peter-evans/[email protected]
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKERHUB_REPOSITORY: icyleafcn/hpr
29 changes: 1 addition & 28 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,6 @@ on:
- 'v*'

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- 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: v${{ github.ref }}
body: |
Changes in this Release
- First Change
- Second Change
draft: false
prerelease: false

build:
name: Publish Docker Image
runs-on: ubuntu-latest
Expand All @@ -37,9 +16,7 @@ jobs:
run: echo "::set-output name=date::$(date +'%Y-%m-%d %H:%M:%S %z')"
- name: Get version
id: version
run: echo "::set-output name=version::$(echo ${{ github.ref }} | sed 's/v//')"
- name: Echo the version
run: echo ${{ steps.date.outputs.version }}
run: echo "::set-output name=version::$(echo ${{ github.ref }} | sed 's/refs\/tags\///' | sed 's/v//')"
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
env:
Expand All @@ -57,7 +34,3 @@ jobs:
DOCKERHUB_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKERHUB_REPOSITORY: icyleafcn/hpr
- name: Trigger Microbadger update
uses: wei/curl@master
with:
args: -X POST ${{ secrets.MICROBADGER_WEBHOOK_URL }}
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,4 @@ DEPENDENCIES
sqlite3 (~> 1.4.2)

BUNDLED WITH
1.17.2
2.1.4
2 changes: 1 addition & 1 deletion docs/_coverpage.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![logo](_media/icon.png)

# ḫpr <small>0.13.1</small>
# ḫpr <small>0.14.0</small>

> 镜像任意 Git 仓库到 Gitlab 的同步工具,具有定时更新的功能。
Expand Down
2 changes: 1 addition & 1 deletion lib/hpr/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Hpr
VERSION = '0.13.1'
VERSION = '0.14.0'
end

0 comments on commit e6d1f31

Please sign in to comment.