Skip to content

Commit

Permalink
Merge pull request #47 from move4mobile/feature/GithubActionsSetup
Browse files Browse the repository at this point in the history
Feature/GitHub actions setup
  • Loading branch information
mschilling authored Feb 17, 2020
2 parents c0dad9c + f04d802 commit b44cada
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 66 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/ci.yml.old

This file was deleted.

51 changes: 40 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,46 @@
name: GeekBites - Release
name: Release workflow

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

branches:
- master
jobs:
release-on-push:
build:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: rymndhng/release-on-push-action@master
with:
strategy: patch
- name: Checkout code
uses: actions/checkout@master
with:
fetch-depth: '0'
# - name: Build project
# run: |
# zip --junk-paths docs JOURNAL.md ./examples/*
- name: Bump version and push tag
id: tag_release
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag_release.outputs.tag }}
release_name: ${{ steps.tag_release.outputs.tag }}
draft: false
prerelease: false

# - name: Upload Release Asset
# id: upload-release-asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: ./docs.zip
# asset_name: docs.zip
# asset_content_type: application/zip
18 changes: 0 additions & 18 deletions .github/workflows/tagger.yml.old

This file was deleted.

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## v1.0.0

Initial Release
Initial Release
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Onze blog staat live: http://geekbites.move4mobile.io


#### How to install
Allereerst even checken of je Ruby hebt geinstalleerd:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "geekbites",
"version": "2.0.1",
"version": "2.4.3",
"description": "Onze blog staat live: http://geekbites.move4mobile.io",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit b44cada

Please sign in to comment.