diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md new file mode 100644 index 0000000..94fa63d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/custom.md @@ -0,0 +1,19 @@ +--- +name: Custom issue template +about: Describe this issue template's purpose here. +title: '' +labels: discussion, question +assignees: '' + +--- + +**My Question is:* +Your Question about BingusBoingus. + +**What I've tried so far** + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Additional context** +Add any other context about the problem here. diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 37730b8..8f9205b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -2,7 +2,9 @@ name: Docker Image CI on: push: - branches: ['master', 'dev'] + branches: ['dev'] + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' env: IMAGE_NAME: bingusboingus @@ -30,12 +32,16 @@ jobs: [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') - [ "$VERSION" == "master" ] && VERSION=latest echo IMAGE_ID=$IMAGE_ID echo VERSION=$VERSION docker tag $IMAGE_NAME $IMAGE_ID:$VERSION docker push $IMAGE_ID:$VERSION + if [[ $VERSION =~ ^[0-9]+.[0-9]+.[0-9]+$ ]]; then + docker tag $IMAGE_ID:$VERSION $IMAGE_ID:latest + docker push $IMAGE_ID:$VERSION + fi + # build repoUrl # change all uppercase characters to lowercase # strip git ref prefix from version diff --git a/CHANGELOG.md b/CHANGELOG.md index def444c..7f2915c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [1.0.1](https://github.com/Blvckleg/BingusBoingus/compare/v1.0.0...v1.0.1) (2024-02-16) + + + +### Bug Fixes + +* **workflows:** i think this should do it ([141f4f2](https://github.com/Blvckleg/BingusBoingus/commit/141f4f2b51d49abbadf20d59df24585bce12dfe2)) + ## 1.0.0 (2024-02-15) ### Features diff --git a/package-lock.json b/package-lock.json index 86021f1..f7b95e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bingusboingus", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "bingusboingus", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "dependencies": { "@nestjs/common": "^10.2.10", diff --git a/package.json b/package.json index 502aaa0..ce8ee54 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "bingusboingus", "version": "1.0.0", + "version": "1.0.1", "description": "Hey look it's Bingus.... or Boingus?? OR BOTH??", "main": "src/main.ts", "scripts": {