Compare commits

..

36 Commits

Author SHA1 Message Date
actions-user
2a358af6bf tag version Cal.com version v3.1.0 2023-07-15 16:21:43 +00:00
actions-user
0bd99af9de Auto updated submodule references 2023-07-15 04:04:24 +00:00
actions-user
061086165f Auto updated submodule references 2023-07-14 04:04:33 +00:00
actions-user
cf978614db Auto updated submodule references 2023-07-13 04:04:35 +00:00
actions-user
69fb59812a Auto updated submodule references 2023-07-12 04:04:42 +00:00
actions-user
dfe010710b Auto updated submodule references 2023-07-11 04:04:39 +00:00
actions-user
09027a5c97 Auto updated submodule references 2023-07-08 04:04:48 +00:00
actions-user
578a104a92 Auto updated submodule references 2023-07-07 04:04:34 +00:00
actions-user
b066cff0b3 Auto updated submodule references 2023-07-06 04:04:45 +00:00
actions-user
d348680dc6 Auto updated submodule references 2023-07-05 17:45:45 +00:00
actions-user
a4a51da68a Auto updated submodule references 2023-07-05 04:04:56 +00:00
Colin Griffin
16ec6da83f use PAT for release creation 2023-07-04 11:29:35 -04:00
Colin Griffin
35125d3e41 fetch tags from origin 2023-07-04 11:05:27 -04:00
Colin Griffin
0c502c56ff checkout with refs/tags 2023-07-04 11:03:25 -04:00
Colin Griffin
d922d0f363 add tag list for debugging 2023-07-04 10:57:05 -04:00
Colin Griffin
d5fbf1869e remove quotes from tag 2023-07-04 10:52:57 -04:00
Colin Griffin
7567a4669b temp debugging 2023-07-04 10:50:25 -04:00
Colin Griffin
4a368b6279 pull submodules from remote to get available branches 2023-07-04 10:47:15 -04:00
Colin Griffin
f0feb3920a update reference to calcom folder 2023-07-04 10:41:10 -04:00
actions-user
6e264c2cbd Auto updated submodule references 2023-07-04 04:04:29 +00:00
actions-user
c2fef16e7f Auto updated submodule references 2023-07-03 04:04:40 +00:00
actions-user
98af1ee0f1 Auto updated submodule references 2023-07-02 04:04:32 +00:00
actions-user
a014e6987d Auto updated submodule references 2023-07-01 04:04:47 +00:00
actions-user
80fbee033f Auto updated submodule references 2023-06-30 04:04:22 +00:00
actions-user
aa03d3300a Auto updated submodule references 2023-06-29 04:04:20 +00:00
Colin Griffin
2fda3845b0 Merge pull request #265 from calcom/feat/actions-auto-release
Feat/actions auto release
2023-06-28 17:52:44 -04:00
Colin Griffin
2ab6ff4284 add action for creating local releases 2023-06-28 17:31:58 -04:00
Colin Griffin
4937e38996 tag version 3.0.9 2023-06-28 09:02:37 -04:00
actions-user
29994d5a47 Auto updated submodule references 2023-06-28 04:04:44 +00:00
actions-user
5d36da146c Auto updated submodule references 2023-06-27 04:04:42 +00:00
actions-user
c8abf7a184 Auto updated submodule references 2023-06-26 04:04:36 +00:00
actions-user
f5ca95e8a8 Auto updated submodule references 2023-06-24 04:04:28 +00:00
actions-user
6f6a258db1 Auto updated submodule references 2023-06-23 04:04:32 +00:00
actions-user
91b9623260 Auto updated submodule references 2023-06-22 04:04:23 +00:00
actions-user
594b253883 Auto updated submodule references 2023-06-21 04:04:31 +00:00
actions-user
465216f223 Auto updated submodule references 2023-06-20 04:04:20 +00:00
2 changed files with 60 additions and 1 deletions

59
.github/workflows/create-release.yaml vendored Normal file
View File

@@ -0,0 +1,59 @@
name: "Create Release"
on: # yamllint disable-line rule:truthy
workflow_dispatch:
inputs:
RELEASE_TAG:
description: 'v{Major}.{Minor}.{Patch}'
jobs:
release:
name: "Release"
permissions:
contents: write
runs-on: "ubuntu-latest"
steps:
- name: Checkout source
uses: actions/checkout@v3
with:
token: ${{ secrets.ACTIONS_ACCESS_TOKEN }}
submodules: true
- name: Create branch and tag submodule
run: |
git config user.email "actions@github.com"
git config user.name "actions-user"
git submodule update --init --remote
git checkout -b 'release-${{ inputs.RELEASE_TAG }}'
(cd calcom && git fetch --tags origin && git checkout 'refs/tags/${{ inputs.RELEASE_TAG }}')
git add calcom
git commit -m "tag version Cal.com version ${{ inputs.RELEASE_TAG }}"
git push origin 'release-${{ inputs.RELEASE_TAG }}'
# note: instead of secrets.GITHUB_TOKEN here, we need to use a PAT
# so that the release creation triggers the image build workflow
- name: "Create release"
uses: "actions/github-script@v6"
with:
github-token: "${{ secrets.ACTIONS_ACCESS_TOKEN }}"
script: |
try {
const response = await github.rest.repos.createRelease({
draft: false,
generate_release_notes: true,
body: 'For Cal.com release details, see: https://github.com/calcom/cal.com/releases/tag/${{ inputs.RELEASE_TAG }}',
name: '${{ inputs.RELEASE_TAG }}',
target_commitish: 'release-${{ inputs.RELEASE_TAG }}',
owner: context.repo.owner,
prerelease: false,
repo: context.repo.repo,
tag_name: '${{ inputs.RELEASE_TAG }}',
});
core.exportVariable('RELEASE_ID', response.data.id);
core.exportVariable('RELEASE_UPLOAD_URL', response.data.upload_url);
} catch (error) {
core.setFailed(error.message);
}

2
calcom

Submodule calcom updated: 761dfac033...d7953aa53a