Skip to content

Commit

Permalink
πŸ“¦ NEW: Auto release and changelog workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
MaedahBatool committed Aug 8, 2018
1 parent 6b2e70c commit 08d8ba9
Show file tree
Hide file tree
Showing 11 changed files with 5,126 additions and 7 deletions.
68 changes: 68 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# NPM #
##########
# Ignore all directories called node_modules in current folder and any subfolders.
node_modules/
/node_modules/

# Packages #
############
*.7z
*.dmg
*.gz
*.bz2
*.iso
*.jar
*.rar
*.tar
*.zip
*.tgz
*.map

# Logs and databases #
######################
*.log
*.sql
*.env

# OS generated files #
######################
**.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
._*

# Vim generated files #
######################
*.un~

# SASS #
##########
**/.sass-cache
**/.sass-cache/*
**/.map

# Composer #
##########
!assets/js/vendor/
wpcs/
/vendor/

# Bower #
##########
assets/bower_components/*

# Codekit #
##########
/codekit-config.json
*.codekit
**.codekit-cache/*

# Compiled Files and Build Dirs #
##########
/README.html

# PhpStrom Project Files #
.idea/
library/vendors/composer
assets/img/.DS_Store
8 changes: 7 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
{
"dry-run": false,
"verbose": false,
"force": true,
"non-interactive": true,
"increment": "minor",
"beforeChangelogCommand": "auto-changelog",
"safeBump": false,
"src": {
"commitMessage": "πŸ¦„ Release %s",
"tagAnnotation": "πŸ¦„ Release %s"
"tagAnnotation": "πŸ¦„ Release %s",
"afterReleaseCommand": "echo Successfully released ${version}."
},
"npm": {
"publish": true
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.formatOnSave": true
}
Empty file added CHANGELOG.md
Empty file.
38 changes: 38 additions & 0 deletions clTemplate.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Changelog:`pudl`

All notable changes in this project's [released versions](https://github.com/MaedahBatool/pudl/releases) are documented in this file.

[![Maedah on Twitter](https://img.shields.io/twitter/follow/maedahbatool.svg?style=social&label=Follow%20@maedahbatool)](https://twitter.com/maedahbatool/)

<br>

{{#each releases}}

![hr](https://on.ahmda.ws/t6N5/c)

<br>

{{#if href}}
### RELEASE: [{{title}}]({{href}}){{#if tag}}{{/if}}
{{else}}
### RELEASE: {{title}}{{#if tag}}{{/if}}
{{/if}}

{{#commit-list commits heading='![NEW](https://img.shields.io/badge/-NEW-gray.svg?colorB=3778FF)' message='NEW: '}}
> {{subject}} [`{{shorthash}}`]({{href}}) <br>
{{/commit-list}}

{{#commit-list commits heading='![IMPROVEMENT](https://img.shields.io/badge/-IMPROVEMENT-gray.svg?colorB=39AA54)' message='IMPROVE: '}}
> {{subject}} [`{{shorthash}}`]({{href}}) <br>
{{/commit-list}}

{{#commit-list commits heading='![FIX](https://img.shields.io/badge/-FIX-gray.svg?colorB=ff6347)' message='FIX: '}}
> {{subject}} [`{{shorthash}}`]({{href}}) <br>
{{/commit-list}}

{{#commit-list commits heading='![DOCS](https://img.shields.io/badge/-DOCS-gray.svg?colorB=978CD4)' message='DOC:'}}
> {{subject}} [`{{shorthash}}`]({{href}}) <br>
{{/commit-list}}

<br>
{{/each}}
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 4 additions & 6 deletions pudl/package.json β†’ dist/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
"name": "pudl",
"version": "0.2.0",
"name": "your-project",
"version": "0.0.0",
"author": "Maedah Batool (https://MaedahBatool.com/)",
"devDependencies": {
"browser-sync": "^2.24.5",
"gulp": "^3.9.1",
"gulp-notify": "^3.2.0",
"gulp-plumber": "^1.2.0",
"gulp-pug": "^4.0.1",
"gulp-sass": "^4.0.1",
"release-it": "^7.4.7"
"gulp-sass": "^4.0.1"
},
"scripts": {
"start": "gulp",
"release": "release-it"
"start": "gulp"
},
"keywords": [
"pug",
Expand Down

0 comments on commit 08d8ba9

Please sign in to comment.