diff --git a/.github/workflows/ci.yml.old b/.github/workflows/ci.yml.old deleted file mode 100644 index aef9a989..00000000 --- a/.github/workflows/ci.yml.old +++ /dev/null @@ -1,35 +0,0 @@ -name: GeekBites - CI - -on: - push: - branches: - - master - - develop - - release/** - pull_request: - branches: - - master - - develop - - release/** - -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: | - npm ci - npm run build --if-present - env: - CI: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69f0e703..c4c6e0b0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 \ No newline at end of file + - 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/github-tag-action@1.17.2 + 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 diff --git a/.github/workflows/tagger.yml.old b/.github/workflows/tagger.yml.old deleted file mode 100644 index c95ba95f..00000000 --- a/.github/workflows/tagger.yml.old +++ /dev/null @@ -1,18 +0,0 @@ -name: Bump version -on: - push: - branches: - - develop -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - with: - fetch-depth: '0' - - name: Bump version and push tag - uses: anothrNick/github-tag-action@1.17.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - WITH_V: true - RELEASE_BRANCHES: develop \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 82640b45..66da4490 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,4 +2,4 @@ ## v1.0.0 -Initial Release \ No newline at end of file +Initial Release diff --git a/README.md b/README.md index 12e1dbb8..8e83ab59 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ Onze blog staat live: http://geekbites.move4mobile.io + #### How to install Allereerst even checken of je Ruby hebt geinstalleerd: diff --git a/package.json b/package.json index 1a8b9b07..814e0f82 100644 --- a/package.json +++ b/package.json @@ -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": {