Skip to content

Commit

Permalink
Switch default branch to 'main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Breidenstein committed Mar 11, 2021
1 parent 50cdd97 commit 8a45cb8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 23 deletions.
23 changes: 11 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64

archives:
- replacements:
Expand All @@ -17,7 +17,7 @@ archives:
- cpthook.yml.example

checksum:
name_template: 'checksums.txt'
name_template: "checksums.txt"

snapshot:
name_template: "{{ .Tag }}-next"
Expand All @@ -26,6 +26,5 @@ changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test_data:'

- "^docs:"
- "^test_data:"
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
language: go
go:
- "1.12"
- "1.14"

services:
- docker

Expand All @@ -18,26 +18,26 @@ script:
- docker build -f Dockerfile -t $IMAGE .

deploy:
# Build production Docker container
# Build production Docker container
- provider: script
skip_cleanup: true
script: bash scripts/deploy.sh stable
on:
branch: master
# Build tagged Docker container
branch: main
# Build tagged Docker container
- provider: script
skip_cleanup: true
script: bash scripts/deploy.sh $TRAVIS_TAG
on:
tags: true
branch: master
# Build development Docker container
branch: main
# Build development Docker container
- provider: script
skip_cleanup: true
script: bash scripts/deploy.sh development
on:
branch: development
# Build release files with goreleaser
# Build release files with goreleaser
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# CptHook
[![Build Status](https://travis-ci.org/fleaz/CptHook.svg?branch=master)](https://travis-ci.org/fleaz/CptHook)
[![Build Status](https://travis-ci.org/fleaz/CptHook.svg?branch=main)](https://travis-ci.org/fleaz/CptHook)
[![Go Report Card](https://goreportcard.com/badge/github.com/fleaz/CptHook)](https://goreportcard.com/report/github.com/fleaz/CptHook)
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://github.com/fleaz/CptHook/blob/master/LICENSE)
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://github.com/fleaz/CptHook/blob/main/LICENSE)

CptHook provides a single endpoint where you can point all your webhook notifications to and get the nicely formatted in an IRC channel of your choice.

Take a look at the [input](https://github.com/fleaz/CptHook/tree/master/input) folder to find out which services are
Take a look at the [input](https://github.com/fleaz/CptHook/tree/main/input) folder to find out which services are
already supported by CptHook.

**If you have questions or problems come chat with us in #CptHook on HackInt** -> [WebChat](https://webirc.hackint.org/#irc://irc.hackint.org/#CptHook)
Expand Down

0 comments on commit 8a45cb8

Please sign in to comment.