Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rangertaha committed May 15, 2019
1 parent 995dd8a commit 510020c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).



## [0.5.2] - 2019-05-07
### API server
- Changed typo value

## [0.5.1] - 2019-05-07
### API server
- Changed endpoint method

## [0.5.0] - 2019-05-04
### Added API server
- Added api server
- Added 'typo' and 'server' commands.
- Added 'typo' and 'server' commands.
- Improved structs for json output.


Expand Down
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ GOGET=$(GOCMD) get
BINARY_NAME=urlinsane
VERSION=$(shell grep -e 'VERSION = ".*"' urlinsane.go | cut -d= -f2 | sed s/[[:space:]]*\"//g)

PROJECT_ID=cyberse
SERVICE_REGION=us-central1
SERVICE_ID=BINARY_NAME
BUILD_CMD=docker build

.PHONY: help

help:
Expand Down Expand Up @@ -47,3 +52,10 @@ docker: image

image: ## Build docker image
docker build -t urlinsane .

release: publish ## deploys the service
gcloud beta run deploy --region=$(SERVICE_REGION) $(SERVICE_ID) --image gcr.io/$(PROJECT_ID)/$(BINARY_NAME)

publish: ## builds docker container in gcr
@echo 'publish $(BINARY_NAME) to GCP Project ID: $(PROJECT_ID)'
gcloud builds submit --tag gcr.io/$(PROJECT_ID)/$(BINARY_NAME)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ urlinsane typo google.com -t co
| |_| || _ < | |___ | | | | | |\__ \| (_| || | | || __/
\___/ |_| \_\|_____||___||_| |_||___/ \__,_||_| |_| \___|
Version: 0.5.0
Version: 0.5.2
LIVE | TYPE | TYPO | SUFFIX | IDNA
-------+------+-----------+--------+------------
Expand Down
2 changes: 1 addition & 1 deletion urlinsane.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ type (
)

const (
VERSION = "0.5.1"
VERSION = "0.5.2"
DEBUG = false
LOGO = `
_ _ ____ _ ___
Expand Down

0 comments on commit 510020c

Please sign in to comment.