Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/push-tag-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: push-tag-release

on:
push:
tags:
- v*

jobs:
cicd-publish-release:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
actions: read
steps:
- name: cicd-publish-release
uses: smartcontractkit/.github/actions/cicd-build-publish-artifacts-go@b4737861584f88fa9569d6978f70fedf8b1ae67c # cicd-build-publish-artifacts-go@0.4.0
with:
# general inputs
app-name: chainlink-deployments-framework
publish: "false" # do not publish docker image to ECR
update-git-tag: "true"
# goreleaser inputs
goreleaser-args: "--config .goreleaser.yml"
goreleaser-version: '~> v2'
goreleaser-dist: goreleaser-pro
goreleaser-key: ${{ secrets.GORELEASER_KEY }}

# todo: enable once i have the secret setup (pending security ticket)
# - name: Set tag for Slack notification
# run: echo "TAG=${{ github.ref_name }}" >> "$GITHUB_ENV"
# shell: bash
#
# - name: Notify Slack
# uses: smartcontractkit/.github/actions/slack-notify-git-ref@eeb76b5870e3c17856d5a60fd064a053c023b5f5 # slack-notify-git-ref@1.0.0
# with:
# slack-channel-id: ${{ secrets.SLACK_CHANNEL_CLDF}}
# slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN_RELENG }} # Releng Bot
# git-ref: ${{ env.TAG }}
# git-ref-type: tag
# changelog-url: 'https://github.com/${{ github.repository }}/releases/tag/${{ env.TAG }}'
20 changes: 20 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Make sure to check the documentation at https://goreleaser.com
version: 2
project_name: chainlink-deployments-framework

builds:
- skip: true

release:
github:
owner: smartcontractkit
name: chainlink-deployments-framework
prerelease: auto
footer: |
Check out the official changelog [here](https://github.com/smartcontractkit/chainlink-deployments-framework/blob/main/CHANGELOG.md)

checksum:
name_template: checksums.txt

changelog:
disable: true
17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "chainlink-deployments-framework",
"version": "1.0.0",
"description": "A deployment framework for chainlink-deployments ",
"private": true,
"scripts": {
"ci:changeset:publish": "pnpm changeset publish",
"ci:changeset:version": "pnpm changeset version && pnpm version --patch"
},
"author": "@smartcontractkit",
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "~2.27.12",
"changeset": "^0.2.6"
},
"repository": "https://github.com/smartcontractkit/chainlink-deployments-framework"
}
Loading