Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Doc, output and code improvements #74

Merged
merged 46 commits into from
Nov 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
19f20d1
Re-use logic from services
Oct 20, 2020
5512a81
Move options to commands directory
Oct 20, 2020
b51dc9b
Improve mod.ts logic using services
Oct 20, 2020
d05ea2a
Add pre release workflow to bump versions
Oct 20, 2020
e68d4bf
Update readme for new help message
Oct 20, 2020
bfa68e4
deno fmt
Oct 20, 2020
c0f29c5
Fix tests
Oct 20, 2020
62852a4
deno fmt
crookse Oct 21, 2020
d0d2145
use CommandService
crookse Oct 21, 2020
07b7adc
fix import
crookse Oct 21, 2020
adffbec
Use logging service for improved output
Oct 21, 2020
7b5c61c
Merge branch 'improvements' of https://github.com/drashland/dmm into …
Oct 21, 2020
98e3c37
Improve bump versions script
Oct 21, 2020
0c10ea3
fix tests
Oct 21, 2020
613dd21
deno fmt
Oct 21, 2020
ad39adc
deno lint
Oct 21, 2020
098bb27
Tidied up README
Oct 21, 2020
9352591
Re-use logic from services to update version strings following bumper
Oct 21, 2020
a7dcc8f
deno fmt
Oct 21, 2020
2de6614
Correct updating test deps
Oct 21, 2020
9d382e9
deno fmt
Oct 21, 2020
dd3925d
refactor based on services
crookse Oct 21, 2020
8b8d84f
put pre-release stuff in
crookse Oct 21, 2020
874f6b2
fix method call
crookse Oct 21, 2020
2efef4f
add yml files
crookse Oct 21, 2020
a096569
use thisModulesLatestVersion
crookse Oct 21, 2020
4d59609
test bumper script process
crookse Oct 22, 2020
e5fc526
Merge pull request #75 from drashland/refactor-based-on-services
crookse Oct 22, 2020
5c210bb
Merge branch 'master' into improvements
crookse Oct 22, 2020
fa794d4
make changes based on cli service changes
crookse Oct 22, 2020
59f3fef
use display instead of show
crookse Oct 22, 2020
48d9573
state Bump Versions in CI
crookse Oct 23, 2020
80f6373
Update dependencies
github-actions[bot] Oct 28, 2020
dc9679f
Merge branch 'master' into improvements
crookse Oct 30, 2020
12e0750
use Deno.test() instead of Rhum v2
crookse Oct 30, 2020
c5f4219
deno fmt
crookse Oct 30, 2020
5a1c027
fix error test
crookse Oct 30, 2020
0836d4a
fixing tests; fixing commands based on tests
crookse Oct 30, 2020
2022fab
fixing tests
crookse Oct 30, 2020
8b8fbef
improve README; make it more digestible
crookse Oct 30, 2020
d1a005b
shorten terminal commands; add raw github url to --allow-net flag
crookse Oct 30, 2020
46b6a88
deno fmt
crookse Oct 30, 2020
180ce48
Merge branch 'improvements' of github.com:drashland/dmm into improvem…
crookse Oct 30, 2020
812ec60
no message
crookse Oct 31, 2020
b7c42a2
fix readme
crookse Oct 31, 2020
c545f09
Merge pull request #76 from drashland/update-dependencies
crookse Oct 31, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
228 changes: 0 additions & 228 deletions .README.md

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/bumper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
update-dep:
strategy:
matrix:
deno: ["1.4.6"]
deno: ["1.5.0"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -20,8 +20,8 @@ jobs:
- name: Update Dependencies
run: deno run --allow-net --allow-read --allow-write mod.ts update

- name: Update Dependency Version Strings
run: deno run --allow-read --allow-write --allow-net console/update_deno_version_strings.ts
- name: Bump Versions
run: deno run --allow-read --allow-write --allow-net console/bumper_ci_service.ts

- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
Expand All @@ -30,4 +30,4 @@ jobs:
commit-message: Update dependencies
title: Update dependencies
body: This was auto-generated by GitHub Actions.
branch: update-dependencies
branch: update-dependencies
4 changes: 2 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
deno: ["1.4.6"]
deno: ["1.5.0"]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -32,7 +32,7 @@ jobs:
linting:
strategy:
matrix:
deno: ["1.4.6"]
deno: ["1.5.0"]
# Doesn't need to be checked in all OS
runs-on: ubuntu-latest

Expand Down
45 changes: 45 additions & 0 deletions .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: pre-release

on:
create

jobs:

# Make a PR to master from a new branch with changes, and delete the created one
update-versions:

# Only run when a release-v* branch is created, and not by drashbot
if: contains(github.ref, 'release-v') && !contains(github.event.sender.login, 'drashbot')

strategy:
matrix:
deno: ["1.4.2"]

runs-on: ubuntu-latest

steps:

- name: Checkout master
uses: actions/checkout@v2
with:
ref: master

- name: Delete Remote Release Branch
run: git push --delete origin ${{ github.ref }}

- name: Install Deno
uses: denolib/setup-deno@v2
with:
deno-version: ${{ matrix.deno }}

- name: Bump Versions
run: deno run -A ./console/bumper_ci_service.ts --version=${{ github.ref }} # version passed so we know what the new release version will be

- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.CI_USER_PAT }}
commit-message: bump versions
title: bump versions
body: This was auto-generated by GitHub Actions.
branch: release # Can change it to ${{ github.ref }} to be the branch name, but then we need to figure out how to stop this worjflow running when it creates another "release-vx.x.x" branch
Loading