Skip to content

Commit

Permalink
Do not disable debug messages in release build (#30)
Browse files Browse the repository at this point in the history
Signed-off-by: Aravinda Vishwanathapura <aravinda@kadalu.tech>
  • Loading branch information
aravindavk committed Jul 19, 2022
1 parent 0b103db commit f7297c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on-release-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
image: crystallang/crystal:latest-alpine
steps:
- uses: actions/checkout@v2
- run: shards build --production --release --static --no-debug --stats --time
- run: shards build --production --release --static --stats --time
- name: Rename
run: |
mv bin/gluster-metrics-exporter bin/gluster-metrics-exporter-amd64
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Build
working-directory: .
run: |
docker run -i -v `pwd`:/workspace -w /workspace --rm multiarch/alpine:aarch64-edge /bin/sh -c "echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/community' >>/etc/apk/repositories; apk add --update --no-cache --force-overwrite llvm12-dev llvm12-static crystal@edge gc-dev gcc gmp-dev libatomic_ops libevent-static musl-dev pcre-dev libxml2-dev openssl-dev openssl-libs-static tzdata yaml-dev zlib-static make git g++ shards@edge yaml-static; shards build --production --release --static --no-debug --stats --time"
docker run -i -v `pwd`:/workspace -w /workspace --rm multiarch/alpine:aarch64-edge /bin/sh -c "echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/community' >>/etc/apk/repositories; apk add --update --no-cache --force-overwrite llvm12-dev llvm12-static crystal@edge gc-dev gcc gmp-dev libatomic_ops libevent-static musl-dev pcre-dev libxml2-dev openssl-dev openssl-libs-static tzdata yaml-dev zlib-static make git g++ shards@edge yaml-static; shards build --production --release --static --stats --time"
- name: Rename
run: |
sudo mv bin/gluster-metrics-exporter bin/gluster-metrics-exporter-arm64
Expand Down
2 changes: 1 addition & 1 deletion lint/shard.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ version: 2.0
shards:
ameba:
git: https://github.com/crystal-ameba/ameba.git
version: 0.14.3
version: 1.0.0

1 change: 1 addition & 0 deletions lint/shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ license: GPLv3
development_dependencies:
ameba:
github: crystal-ameba/ameba
version: 1.0.0

0 comments on commit f7297c9

Please sign in to comment.