Compare commits
	
		
			5 Commits
		
	
	
		
			v4.2.1
			...
			aefd575539
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| aefd575539 | |||
| 26992d2f01 | |||
| 487fa65d38 | |||
| 3ff44f8e58 | |||
| f0a6b16a0c | 
| @@ -44,7 +44,7 @@ commands: | ||||
| custom: | ||||
|   archlinux: | ||||
|     prepare: | ||||
|       - &archlinux_prepare | ||||
|       - &archlinux-prepare | ||||
|         run: | ||||
|           name: prepare archlinux dependencies | ||||
|           command: | | ||||
| @@ -53,18 +53,18 @@ custom: | ||||
|             echo "ci ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | ||||
|  | ||||
|     clone-aur: | ||||
|       - &archlinux_clone_aur | ||||
|       - &archlinux-clone-aur | ||||
|         archlinux-run: | ||||
|           _name: clone aur/scwrypts | ||||
|           command: git clone https://aur.archlinux.org/scwrypts.git aur | ||||
|  | ||||
|     clone-scwrypts: | ||||
|       - &archlinux_clone_scwrypts | ||||
|       - &archlinux-clone-scwrypts | ||||
|         run: | ||||
|           name: clone wrynegade/scwrypts | ||||
|           working_directory: /home/ci | ||||
|           command: | | ||||
|             GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git clone -b "$CIRCLE_BRANCH" "$CIRCLE_REPOSITORY_URL" scwrypts | ||||
|             GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git clone -b "$(echo $CIRCLE_BRANCH | grep . || echo $CIRCLE_TAG)" "$CIRCLE_REPOSITORY_URL" scwrypts | ||||
|             chown -R ci:ci  ./scwrypts | ||||
|  | ||||
|  | ||||
| @@ -83,9 +83,9 @@ jobs: | ||||
|   aur-test: | ||||
|     executor: archlinux | ||||
|     steps: | ||||
|       - *archlinux_prepare | ||||
|       - *archlinux_clone_aur | ||||
|       - *archlinux_clone_scwrypts | ||||
|       - *archlinux-prepare | ||||
|       - *archlinux-clone-aur | ||||
|       - *archlinux-clone-scwrypts | ||||
|       - archlinux-run: | ||||
|           _name: test aur build on current source | ||||
|           working_directory: /home/ci/aur | ||||
| @@ -108,15 +108,14 @@ jobs: | ||||
|   aur-publish: | ||||
|     executor: archlinux | ||||
|     steps: | ||||
|       - *archlinux_prepare | ||||
|       - *archlinux_clone_aur | ||||
|       - *archlinux-prepare | ||||
|       - *archlinux-clone-aur | ||||
|       - archlinux-run: | ||||
|           _name: update PKGBUILD and .SRCINFO | ||||
|           working_directory: /home/ci/aur | ||||
|           command: >- | ||||
|             : | ||||
|             && NEW_VERSION=$(echo $CIRCLE_TAG | sed 's/^v//') | ||||
|             && NEW_VERSION=4.2.0 | ||||
|             && sed "s/pkgver=.*/pkgver=$NEW_VERSION/; s/^pkgrel=.*/pkgrel=1/; /sha256sums/d" PKGBUILD -i | ||||
|             && makepkg -g >> PKGBUILD | ||||
|             && makepkg --printsrcinfo > .SRCINFO | ||||
| @@ -140,7 +139,7 @@ jobs: | ||||
|             && eval $(ssh-agent) | ||||
|             && echo -e $SSH_KEY_PRIVATE__AUR | ssh-add - | ||||
|             && git remote add upstream ssh://aur@aur.archlinux.org/scwrypts.git | ||||
|             && echo 'DO THE GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git push upstream' | ||||
|             && GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git push upstream | ||||
|             ; | ||||
|  | ||||
|   nodejs-test: | ||||
| @@ -239,18 +238,19 @@ workflows: | ||||
|   test: | ||||
|     jobs: | ||||
|       - aur-test: | ||||
|           &dev_filters | ||||
|           &dev-filters | ||||
|           filters: | ||||
|             branches: | ||||
|               ignore: /^main$/ | ||||
|  | ||||
|       - python-test: *dev_filters | ||||
|       - nodejs-test: *dev_filters | ||||
|       - python-test: *dev-filters | ||||
|       - nodejs-test: *dev-filters | ||||
|  | ||||
|   publish: | ||||
|     jobs: | ||||
|       - require-full-semver: | ||||
|           filters: | ||||
|             &only-run-on-full-semver-tag-filters | ||||
|             tags: | ||||
|               only: /^v\d+\.\d+\.\d+.*$/ | ||||
|             branches: | ||||
| @@ -258,7 +258,9 @@ workflows: | ||||
|  | ||||
|       - aur-test: | ||||
|           &only-publish-for-full-semver | ||||
|           requires: [require-full-semver] | ||||
|           filters: *only-run-on-full-semver-tag-filters | ||||
|           requires: | ||||
|             - require-full-semver | ||||
|       - aur-publish: | ||||
|           # | ||||
|           # there's a crazy-low-chance race-condition between this job and the GH Action '../.github/workflows/automatic-release.yaml' | ||||
| @@ -267,6 +269,7 @@ workflows: | ||||
|           # | ||||
|           # if something goes wrong, this step can be safely rerun after fixing the release artifact :) | ||||
|           # | ||||
|           filters: *only-run-on-full-semver-tag-filters | ||||
|           context: [aur-yage] | ||||
|           requires: | ||||
|             - aur-test | ||||
| @@ -275,10 +278,14 @@ workflows: | ||||
|  | ||||
|       - python-test: *only-publish-for-full-semver | ||||
|       - python-publish: | ||||
|           filters: *only-run-on-full-semver-tag-filters | ||||
|           context: [pypi-yage] | ||||
|           requires: | ||||
|             - python-test | ||||
|  | ||||
|       - nodejs-test: *only-publish-for-full-semver | ||||
|       - nodejs-publish: | ||||
|           filters: *only-run-on-full-semver-tag-filters | ||||
|           context: [npm-wrynegade] | ||||
|           requires: | ||||
|             - nodejs-test | ||||
|   | ||||
		Reference in New Issue
	
	Block a user