Compare commits
7 Commits
c1ae70282c
...
v0.0.5
| Author | SHA1 | Date | |
|---|---|---|---|
|
f16ba2601f
|
|||
|
cc6b832f15
|
|||
|
dd5fd5bf17
|
|||
|
38d0fffcf4
|
|||
|
bce06da456
|
|||
|
af585d56ec
|
|||
|
0aa73a27c1
|
@@ -75,18 +75,22 @@ pnpm exec dprint fmt CHANGELOG.md
|
|||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# 5. Setup GPG signing
|
# 5. Setup GPG signing
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
echo "$BOT_PGP_PRIVATE_KEY" | base64 -d | gpg --batch --import --
|
echo "$BOT_PGP_PRIVATE_KEY" | base64 -d | gpg --batch --import
|
||||||
GPG_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG nodarium-bot@max-richter.dev 2>/dev/null | grep sec | head -n1 | sed 's/.*\///' | tr -d ' ')
|
GPG_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG | grep sec | awk '{print $2}' | cut -d'/' -f2)
|
||||||
|
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
|
echo "allow-loopback-pinentry" >>~/.gnupg/gpg-agent.conf
|
||||||
|
gpg-connect-agent reloadagent /bye
|
||||||
|
|
||||||
git config user.name "nodarium-bot"
|
git config user.name "nodarium-bot"
|
||||||
git config user.email "nodarium-bot@max-richter.dev"
|
git config user.email "nodarium-bot@max-richter.dev"
|
||||||
git config user.signingkey "$GPG_KEY_ID"
|
git config --global user.signingkey "$GPG_KEY_ID"
|
||||||
git config commit.gpgsign true
|
git config --global commit.gpgsign true
|
||||||
|
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
# 6. Create release commit
|
# 6. Create release commit
|
||||||
# -------------------------------------------------------------------
|
# -------------------------------------------------------------------
|
||||||
git add CHANGELOG.md $(find . -name package.json ! -path "*/node_modules/*")
|
git add CHANGELOG.md $(git ls-files '**/package.json')
|
||||||
|
|
||||||
if git diff --cached --quiet; then
|
if git diff --cached --quiet; then
|
||||||
echo "No changes to commit for release $TAG"
|
echo "No changes to commit for release $TAG"
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: git.max-richter.dev/max/nodarium-ci:fd7268d6208aede435e1685817ae6b271c68bd83
|
container: git.max-richter.dev/max/nodarium-ci:bce06da456e3c008851ac006033cfff256015a47
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 📑 Checkout Code
|
- name: 📑 Checkout Code
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ ENV RUSTUP_HOME=/usr/local/rustup \
|
|||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
ca-certificates=20230311+deb12u1 \
|
ca-certificates=20230311+deb12u1 \
|
||||||
|
gpg=2.2.40-1.1+deb12u2 \
|
||||||
|
gpg-agent=2.2.40-1.1+deb12u2 \
|
||||||
curl=7.88.1-10+deb12u14 \
|
curl=7.88.1-10+deb12u14 \
|
||||||
git=1:2.39.5-0+deb12u3 \
|
git=1:2.39.5-0+deb12u3 \
|
||||||
jq=1.6-2.1+deb12u1 \
|
jq=1.6-2.1+deb12u1 \
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ export class ColorGenerator {
|
|||||||
|
|
||||||
const newColor = this.generateNewColor();
|
const newColor = this.generateNewColor();
|
||||||
this.colors.set(id, newColor);
|
this.colors.set(id, newColor);
|
||||||
console.log(id, newColor);
|
|
||||||
return this.colorToHsl(newColor);
|
return this.colorToHsl(newColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user