Skip to content

Commit

Permalink
Merge pull request #48 from move4mobile/develop
Browse files Browse the repository at this point in the history
Update master
  • Loading branch information
mschilling authored Feb 17, 2020
2 parents 753e8e7 + b44cada commit 66478fd
Show file tree
Hide file tree
Showing 7 changed files with 2,256 additions and 77 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release-it.yml.old
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: GeekBites - Release-it

on:
push:
branches:
- develop

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: [12.x]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm build
run: |
git config --global user.email "[email protected]"
git config --global user.name "username"
npm ci
# npm run build --if-present
npm run release -- patch --ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CI: true
46 changes: 46 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Release workflow

on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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
15 changes: 15 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"git": {
"tagName": "%s",
"requireUpstream": false,
"requireCleanWorkingDir": false
},
"github": {
"release": true,
"tokenRef": "GITHUB_TOKEN"
},
"npm": {
"publish": false
}
}

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## v1.0.0

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
Loading

0 comments on commit 66478fd

Please sign in to comment.